mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)
* fix bg color
* blue
old-commit-hash: 5fe809b344
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user