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

* fix bg color

* blue
pull/23329/head
Dean Lee 4 years ago committed by GitHub
parent 4c7c2cc75d
commit 5fe809b344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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