From bef93ecf656998882f3b4b45449ece9130c59fad Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Tue, 10 Feb 2026 22:24:18 -0500 Subject: [PATCH] [TIZI/TICI] ui: fix Developer UI orders (#1682) --- .../ui/sunnypilot/onroad/developer_ui/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/selfdrive/ui/sunnypilot/onroad/developer_ui/__init__.py b/selfdrive/ui/sunnypilot/onroad/developer_ui/__init__.py index f74f1f4c3..8e19f876a 100644 --- a/selfdrive/ui/sunnypilot/onroad/developer_ui/__init__.py +++ b/selfdrive/ui/sunnypilot/onroad/developer_ui/__init__.py @@ -19,8 +19,8 @@ from openpilot.system.ui.widgets import Widget class DeveloperUiRenderer(Widget): DEV_UI_OFF = 0 - DEV_UI_RIGHT = 1 - DEV_UI_BOTTOM = 2 + DEV_UI_BOTTOM = 1 + DEV_UI_RIGHT = 2 DEV_UI_BOTH = 3 BOTTOM_BAR_HEIGHT = 61 @@ -62,10 +62,10 @@ class DeveloperUiRenderer(Widget): if sm.recv_frame["carState"] < ui_state.started_frame: return - if self.dev_ui_mode == self.DEV_UI_RIGHT: - self._draw_right_dev_ui(rect) - elif self.dev_ui_mode == self.DEV_UI_BOTTOM: + if self.dev_ui_mode == self.DEV_UI_BOTTOM: self._draw_bottom_dev_ui(rect) + elif self.dev_ui_mode == self.DEV_UI_RIGHT: + self._draw_right_dev_ui(rect) elif self.dev_ui_mode == self.DEV_UI_BOTH: self._draw_right_dev_ui(rect) self._draw_bottom_dev_ui(rect)