mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: fix the bg painting
jira: [none] Change-Id: Id3183ceb93850992cff9834d0141874e33594d35 (cherry picked from commit 0d480b3f6e4e71baae7787802b30c0d572e1ba9d)
This commit is contained in:
@@ -88,10 +88,10 @@ void uiAmsPercentHumidityDryPopup::doRender(wxDC &dc)
|
||||
{
|
||||
// background
|
||||
{
|
||||
dc.SetPen(StateColor::darkModeColorFor(*wxWHITE));
|
||||
dc.SetBrush(*wxTRANSPARENT_BRUSH);
|
||||
dc.DrawRoundedRectangle(0, 0, GetSize().x, GetSize().y, 0);
|
||||
dc.SetBrush(StateColor::darkModeColorFor(*wxWHITE));
|
||||
dc.DrawRoundedRectangle(0, 0, GetSize().GetWidth(), GetSize().GetHeight(), 0);
|
||||
}
|
||||
dc.SetBrush(*wxTRANSPARENT_BRUSH);
|
||||
|
||||
wxPoint p;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user