From 7a324fc377819472ce9df9074a5d79338dd93bca Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 13 Dec 2025 01:50:55 -0800 Subject: [PATCH] comma four: reset WiFi SSID scroll on show (#36861) reset scroll --- selfdrive/ui/mici/widgets/dialog.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/selfdrive/ui/mici/widgets/dialog.py b/selfdrive/ui/mici/widgets/dialog.py index b11056f99..e445c0c9c 100644 --- a/selfdrive/ui/mici/widgets/dialog.py +++ b/selfdrive/ui/mici/widgets/dialog.py @@ -285,6 +285,10 @@ class BigDialogOptionButton(Widget): font_weight=FontWeight.DISPLAY_REGULAR, alignment_vertical=rl.GuiTextAlignmentVertical.TEXT_ALIGN_MIDDLE, scroll=True) + def show_event(self): + super().show_event() + self._label.reset_scroll() + def set_selected(self, selected: bool): self._selected = selected