From 4b6e53220e6b81076f7f40b5874deaac26b89ab5 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 May 2024 22:09:40 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 3ed4481..f77a0bd 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -46,7 +46,7 @@ static void drawIconGif(QPainter &p, const QPoint ¢er, const QMovie &img, co } OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent), scene(uiState()->scene) { - bg = QLinearGradient(0, height(), 0, 0); // Initialize bg to a default color + bg = QColor(0x17, 0x33, 0x49, 0xc8); // init to a default color QVBoxLayout *main_layout = new QVBoxLayout(this); main_layout->setMargin(UI_BORDER_SIZE); QStackedLayout *stacked_layout = new QStackedLayout;