fix icon/list layout where the highlighted border would be clipped.

This commit is contained in:
ITotalJustice
2025-05-31 18:03:12 +01:00
parent fd765aa8c8
commit f98135325a

View File

@@ -373,9 +373,7 @@ void drawAppLable(NVGcontext* vg, const Theme* theme, ScrollingText& st, float x
const float text_x = box_x + text_pad; const float text_x = box_x + text_pad;
const float text_y = y_offset + (box_h / 2.f); const float text_y = y_offset + (box_h / 2.f);
drawRect(vg, {x-4, y-4, w+8, w+8}, theme->GetColour(ThemeEntryID_GRID));
nvgBeginPath(vg); nvgBeginPath(vg);
nvgRoundedRect(vg, box_x, y_offset, box_w, box_h, 3.f); nvgRoundedRect(vg, box_x, y_offset, box_w, box_h, 3.f);
nvgFillColor(vg, theme->GetColour(ThemeEntryID_SELECTED_BACKGROUND)); nvgFillColor(vg, theme->GetColour(ThemeEntryID_SELECTED_BACKGROUND));
nvgFill(vg); nvgFill(vg);