FIX: fill the background

jira: [STUDIO-9915]
Change-Id: I88df69d892528fd47f46dc2909901ad9aaf89879
This commit is contained in:
xin.zhang 2025-01-17 10:42:31 +08:00 committed by lane.wei
parent 4845e4c585
commit 225431eccc
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ void AMSextruderImage::doRender(wxDC &dc)
AMSextruderImage::AMSextruderImage(wxWindow *parent, wxWindowID id, string file_name, const wxSize& size, const wxPoint &pos)
{
wxWindow::Create(parent, id, pos, size);
SetBackgroundColour(*wxWHITE);
SetBackgroundColour(StateColor::darkModeColorFor(*wxWHITE));
m_ams_extruder = ScalableBitmap(this, file_name,36);
m_file_name = file_name;