ui: dont hide steering wheel when blindspot disabled (#1709)

Update blind_spot_indicators.py

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
This commit is contained in:
royjr
2026-02-28 00:28:08 -05:00
committed by GitHub
parent 29a3b3315f
commit 16047e3c3d

View File

@@ -28,7 +28,7 @@ class BlindSpotIndicators:
@property
def detected(self) -> bool:
return self._blind_spot_left_alpha_filter.x > 0.01 or self._blind_spot_right_alpha_filter.x > 0.01
return ui_state.blindspot and (self._blind_spot_left_alpha_filter.x > 0.01 or self._blind_spot_right_alpha_filter.x > 0.01)
def render(self, rect: rl.Rectangle) -> None:
if not ui_state.blindspot: