mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 22:22:11 +08:00
Revert "ui: fill the bg with disengaged color if not started" (#35441)
Revert "ui: fill the bg with disengaged color if not started (#35434)"
This reverts commit 10dc40db04.
This commit is contained in:
@@ -45,8 +45,7 @@ class AugmentedRoadView(CameraView):
|
||||
|
||||
def render(self, rect):
|
||||
# Only render when system is started to avoid invalid data access
|
||||
if not ui_state.started or not self.frame:
|
||||
rl.draw_rectangle_rec(rect, BORDER_COLORS[UIStatus.DISENGAGED])
|
||||
if not ui_state.started:
|
||||
return
|
||||
|
||||
# Update calibration before rendering
|
||||
|
||||
Reference in New Issue
Block a user