From f0e3414d1f73dc1c9a9f3120a22fdd413f69a894 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sat, 25 Jul 2026 18:03:59 -0400 Subject: [PATCH] Big UI: Conditional Drive oopsie --- 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 1852df3b52..f99c74aaa5 100644 --- a/selfdrive/ui/layouts/settings/starpilot/aethergrid.py +++ b/selfdrive/ui/layouts/settings/starpilot/aethergrid.py @@ -924,12 +924,12 @@ class PanelManagerView(AetherInteractiveMixin, Widget): self._page_anim_prev_tiles.clear() self._page_drag_start_x = mouse_pos.x self._page_drag_start_y = mouse_pos.y - self._page_drag_active = True + self._page_drag_active = False self._page_drag_offset = 0.0 def _handle_mouse_event(self, mouse_event: MouseEvent) -> None: super()._handle_mouse_event(mouse_event) - if self._page_drag_active and self._has_pagination: + if self._has_pagination: dx = mouse_event.pos.x - self._page_drag_start_x dy = abs(mouse_event.pos.y - self._page_drag_start_y) if dy > abs(dx) * 1.2 and dy > 32: @@ -941,6 +941,7 @@ class PanelManagerView(AetherInteractiveMixin, Widget): dx = 0 self._page_drag_offset = dx if abs(dx) > 6: + self._page_drag_active = True self._pressed_target = None self._can_click = False