FIX: show ams remain for MAC

jira: [STUDIO-11139]
Change-Id: If5b9593e0b46e3f6845bb5637564cee8fa67e5bc
This commit is contained in:
xin.zhang 2025-03-26 19:52:08 +08:00 committed by Lane.Wei
parent a67acd8f0c
commit 2d99a9e231
1 changed files with 0 additions and 4 deletions

View File

@ -1522,11 +1522,7 @@ void AMSLib::render_generic_lib(wxDC &dc)
else {
auto brush = dc.GetBrush();
if (alpha != 0 && alpha != 255 && alpha != 254) dc.SetBrush(wxBrush(*wxTRANSPARENT_BRUSH));
#ifdef __APPLE__
dc.DrawRoundedRectangle(FromDIP(1), FromDIP(1), size.x - FromDIP(2), size.y - FromDIP(1), m_radius - 1);
#else
dc.DrawRoundedRectangle(FromDIP(2), FromDIP(1) + top, size.x - FromDIP(4), curr_height, m_radius - 1);
#endif
dc.SetBrush(brush);
}
}