mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-04-07 12:43:59 +08:00
NavWidget: reset some state on show
This commit is contained in:
@@ -225,3 +225,8 @@ class NavWidget(Widget, abc.ABC):
|
||||
# so we need this hacky bool for now
|
||||
self._trigger_animate_in = True
|
||||
self._nav_bar.show_event()
|
||||
|
||||
# Reset state
|
||||
self._pos_filter.update_alpha(0.1)
|
||||
self._back_button_start_pos = None
|
||||
self._swiping_away = False
|
||||
|
||||
Reference in New Issue
Block a user