Clear setting-row bounds before redraw to drop focus corner ghosts.
Unfocused FillRoundRect left blue pixels from the prior gradient roundrect; erase the full card box to page background first. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a02379104d
commit
f076d1714a
|
|
@ -1126,6 +1126,10 @@ void Draw_System_Item_List(const LEBEL_UI *UI, GUI_SWITCH *Group)
|
|||
uint16_t val_x2 = UI->x + row_w - 18;
|
||||
uint16_t chev_cy = UI->y + UI->h / 2;
|
||||
|
||||
/* 先清整块外接矩形为页面底色,避免焦点蓝圆角残留四角描边 */
|
||||
LCD_FillByColor(UI->x, UI->y, (uint16_t)(UI->x + row_w), (uint16_t)(UI->y + UI->h),
|
||||
UI0902_BG_COLOR);
|
||||
|
||||
if (UI_IsFocused(Group->Id))
|
||||
{
|
||||
c_top = START_COLOR;
|
||||
|
|
|
|||
Loading…
Reference in New Issue