FIX: fill the background

jira: [STUDIO-9915]
Change-Id: I88df69d892528fd47f46dc2909901ad9aaf89879
(cherry picked from commit 225431eccc68e34ceb60da9e868044ba6eee72c1)
This commit is contained in:
xin.zhang 2025-01-17 10:42:31 +08:00 committed by Noisyfox
parent 8a6eddb7c2
commit 4356fd3529

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;