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.
pull/35442/head
Shane Smiskol 1 week ago committed by GitHub
parent da58feb869
commit 928dc6259b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      selfdrive/ui/onroad/augmented_road_view.py

@ -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

Loading…
Cancel
Save