From f076d1714a6a31df5f5d53f9528329c723445165 Mon Sep 17 00:00:00 2001 From: yuquanjun Date: Sun, 6 Sep 2026 21:03:31 +0800 Subject: [PATCH] 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 --- UI/UI_global.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UI/UI_global.c b/UI/UI_global.c index a30c633..a465dfc 100644 --- a/UI/UI_global.c +++ b/UI/UI_global.c @@ -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;