From f98135325ab02cc816a69e2a83df5fc00187ed41 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Sat, 31 May 2025 18:03:12 +0100 Subject: [PATCH] fix icon/list layout where the highlighted border would be clipped. --- sphaira/source/ui/nvg_util.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/sphaira/source/ui/nvg_util.cpp b/sphaira/source/ui/nvg_util.cpp index 3e8a581..9dfec9d 100644 --- a/sphaira/source/ui/nvg_util.cpp +++ b/sphaira/source/ui/nvg_util.cpp @@ -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_y = y_offset + (box_h / 2.f); - drawRect(vg, {x-4, y-4, w+8, w+8}, theme->GetColour(ThemeEntryID_GRID)); nvgBeginPath(vg); - nvgRoundedRect(vg, box_x, y_offset, box_w, box_h, 3.f); nvgFillColor(vg, theme->GetColour(ThemeEntryID_SELECTED_BACKGROUND)); nvgFill(vg);