mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-29 10:53:49 +08:00
mici ui: add interaction timeout fixme + fix navwidget guard
This commit is contained in:
@@ -92,6 +92,7 @@ class MiciMainLayout(Scroller):
|
||||
else:
|
||||
self._scroll_to(self._home_layout)
|
||||
|
||||
# FIXME: these two pops can interrupt user interacting in the settings
|
||||
if self._onroad_time_delay is not None and rl.get_time() - self._onroad_time_delay >= ONROAD_DELAY:
|
||||
gui_app.pop_widgets_to(self)
|
||||
self._scroll_to(self._onroad_layout)
|
||||
|
||||
Reference in New Issue
Block a user