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 <cursoragent@cursor.com>
This commit is contained in:
yuquanjun 2026-09-06 18:49:05 +08:00
parent 029313ce99
commit 766f7ee0ba
1 changed files with 3 additions and 1 deletions

View File

@ -847,7 +847,9 @@ void Draw_Bottom_Bar(uint8_t sel, uint8_t first_back)
uint8_t i; uint8_t i;
(void)first_back; (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段落钮与底栏之间横线分隔 */ /* 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, 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); LCD_DrawLine(0, UI0902_SEP_LINE_Y + 1, 239, UI0902_SEP_LINE_Y + 1, UI0902_SEP_LINE_COLOR);