From 225431eccc68e34ceb60da9e868044ba6eee72c1 Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Fri, 17 Jan 2025 10:42:31 +0800 Subject: [PATCH] FIX: fill the background jira: [STUDIO-9915] Change-Id: I88df69d892528fd47f46dc2909901ad9aaf89879 --- src/slic3r/GUI/Widgets/AMSItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Widgets/AMSItem.cpp b/src/slic3r/GUI/Widgets/AMSItem.cpp index 5a0a536cd..11fea00cf 100644 --- a/src/slic3r/GUI/Widgets/AMSItem.cpp +++ b/src/slic3r/GUI/Widgets/AMSItem.cpp @@ -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;