ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)

* fix bg color

* blue
old-commit-hash: 5fe809b344
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent 0e3f1eae46
commit 70b297f5db
  1. 2
      selfdrive/ui/qt/onroad.cc

@ -51,6 +51,8 @@ void OnroadWindow::updateState(const UIState &s) {
if (s.sm->updated("controlsState") || !alert.equal({})) {
if (alert.type == "controlsUnresponsive") {
bgColor = bg_colors[STATUS_ALERT];
} else if (alert.type == "controlsUnresponsivePermanent") {
bgColor = bg_colors[STATUS_DISENGAGED];
}
alerts->updateAlert(alert, bgColor);
}

Loading…
Cancel
Save