FIX: fix the bg painting

jira: [none]
Change-Id: Id3183ceb93850992cff9834d0141874e33594d35
This commit is contained in:
xin.zhang 2025-02-24 14:07:30 +08:00 committed by lane.wei
parent e399f13634
commit 0d480b3f6e
1 changed files with 3 additions and 3 deletions

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;