From 82eae95adde36810f516b8dd15cefc6176b577f1 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Tue, 30 Jun 2026 02:17:24 -0400 Subject: [PATCH] BigUI WIP: Glow Position --- selfdrive/ui/layouts/settings/starpilot/aethergrid.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/layouts/settings/starpilot/aethergrid.py b/selfdrive/ui/layouts/settings/starpilot/aethergrid.py index af8cd918f..59e2a4a47 100644 --- a/selfdrive/ui/layouts/settings/starpilot/aethergrid.py +++ b/selfdrive/ui/layouts/settings/starpilot/aethergrid.py @@ -827,14 +827,15 @@ class PanelManagerView(AetherInteractiveMixin, Widget): if self._has_pagination: glow_w = 60.0 + pad = self.GRID_PADDING if self._current_page > 0: rl.draw_rectangle_gradient_h( - int(rect.x), int(rect.y), int(glow_w), int(rect.height), + int(rect.x - pad), int(rect.y - pad), int(glow_w), int(rect.height + pad * 2), with_alpha(self.PANEL_STYLE.accent, 10), rl.Color(0, 0, 0, 0), ) if self._current_page < self._page_count - 1: rl.draw_rectangle_gradient_h( - int(rect.x + rect.width - glow_w), int(rect.y), int(glow_w), int(rect.height), + int(rect.x + rect.width - glow_w + pad), int(rect.y - pad), int(glow_w), int(rect.height + pad * 2), rl.Color(0, 0, 0, 0), with_alpha(self.PANEL_STYLE.accent, 10), )