mici training guide tuneups (#36652)

* bump up size

* lil more

* rm param

* 5m timeout and 100% brightness

* set parasm:
This commit is contained in:
Adeeb Shihadeh
2025-11-19 15:03:28 -08:00
committed by GitHub
parent 3a001dd71c
commit f0d8ebd851
8 changed files with 48 additions and 34 deletions

View File

@@ -18,6 +18,7 @@ from openpilot.common.utils import run_cmd
from openpilot.system.hardware import HARDWARE
from openpilot.system.ui.lib.application import gui_app, FontWeight
from openpilot.system.ui.lib.wifi_manager import WifiManager
from openpilot.selfdrive.ui.ui_state import device
from openpilot.system.ui.lib.scroll_panel2 import GuiScrollPanel2
from openpilot.system.ui.widgets import Widget, DialogResult
from openpilot.system.ui.widgets.button import (IconButton, SmallButton, WideRoundedButton, SmallerRoundedButton,
@@ -225,6 +226,10 @@ class TermsPage(Widget):
self._back_button.set_opacity(0.0)
self._scroll_down_indicator.set_opacity(1.0)
def show_event(self):
super().show_event()
device.reset_interactive_timeout(300)
@property
@abstractmethod
def _content_height(self):