mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: StaticBox background color
Change-Id: Ifbb0bc4ac3e0a69675f16dc3234b4190fff698fb
This commit is contained in:
@@ -169,7 +169,10 @@ void StaticBox::doRender(wxDC& dc)
|
||||
} else {
|
||||
dc.SetPen(wxPen(background_color.colorForStates(states)));
|
||||
}
|
||||
dc.SetBrush(wxBrush(background_color.colorForStates(states)));
|
||||
if (background_color.count() > 0)
|
||||
dc.SetBrush(wxBrush(background_color.colorForStates(states)));
|
||||
else
|
||||
dc.SetBrush(wxBrush(GetBackgroundColour()));
|
||||
if (radius == 0) {
|
||||
dc.DrawRectangle(rc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user