FIX: White circle is not clear on auto refill page

Jira: STUDIO-3262

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I05ac6257638063d32a9943c09bb7c14cc9229b3a
This commit is contained in:
wenjie.guo 2023-12-13 12:24:19 +08:00 committed by Lane.Wei
parent 67205a0eee
commit 5fc7dc26fe
1 changed files with 5 additions and 1 deletions

View File

@ -1507,7 +1507,11 @@ void AmsRMGroup::doRender(wxDC& dc)
int x = size.x / 2;
int y = size.y / 2;
int radius = size.x / 2 - FromDIP(2);
int radius;
if (wxGetApp().dark_mode())
radius = size.x / 2 - int(size.x * 0.02);
else
radius = size.x / 2;
endAngle += ev_angle;