From 766f7ee0ba5eae5716437bd3a4267ceb6d1b997f Mon Sep 17 00:00:00 2001 From: yuquanjun Date: Sun, 6 Sep 2026 18:49:05 +0800 Subject: [PATCH] Stop nav-bar clear from clipping section-button bottom corners. Bottom fill started at y=263 and erased the lower 2px of the r=6 roundrects, so bottoms looked flatter than tops. Co-authored-by: Cursor --- UI/UI_global.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/UI_global.c b/UI/UI_global.c index 175b743..129cf61 100644 --- a/UI/UI_global.c +++ b/UI/UI_global.c @@ -847,7 +847,9 @@ void Draw_Bottom_Bar(uint8_t sel, uint8_t first_back) uint8_t i; (void)first_back; - LCD_FillByColor(0, 263, 240, 320, UI0902_BG_COLOR); + /* 从段落钮底边之下清屏,勿切掉按钮底圆角(钮 y=231..264) */ + LCD_FillByColor(0, (uint16_t)(UI0902_SECTION_Y + UI0902_SECTION_BTN_H), + 240, 320, UI0902_BG_COLOR); /* mode.png:段落钮与底栏之间横线分隔 */ LCD_DrawLine(0, UI0902_SEP_LINE_Y, 239, UI0902_SEP_LINE_Y, UI0902_SEP_LINE_COLOR); LCD_DrawLine(0, UI0902_SEP_LINE_Y + 1, 239, UI0902_SEP_LINE_Y + 1, UI0902_SEP_LINE_COLOR);