FIX: fix the bg painting

jira: [none]
Change-Id: Id3183ceb93850992cff9834d0141874e33594d35
(cherry picked from commit 0d480b3f6e4e71baae7787802b30c0d572e1ba9d)
This commit is contained in:
xin.zhang
2025-02-24 14:07:30 +08:00
committed by Noisyfox
parent 0b98094dac
commit 502cee88ee

View File

@@ -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;