UI: cleanup draw_alerts condition (#19875)
old-commit-hash: 8b4731ffc89dbaf06964620f3b8623e24b920f55
This commit is contained in:
@@ -416,8 +416,7 @@ void ui_draw(UIState *s) {
|
||||
s->scene.viz_rect.w -= sbr_w;
|
||||
}
|
||||
|
||||
const bool draw_alerts = s->started && s->status != STATUS_OFFROAD &&
|
||||
s->active_app == cereal::UiLayoutState::App::NONE;
|
||||
const bool draw_alerts = s->started && s->active_app == cereal::UiLayoutState::App::NONE;
|
||||
const bool draw_vision = draw_alerts && s->vipc_client->connected;
|
||||
|
||||
// GL drawing functions
|
||||
|
||||
Reference in New Issue
Block a user