From 52b6f7abea84dc0b80340894b16b2e0ed7f9e8e7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 May 2024 14:30:11 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 6e9087e..b7472bc 100755 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -441,7 +441,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) { p.restore(); if (!scene.hide_max_speed) { - drawSpeedWidget(p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff)); + // drawSpeedWidget(p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff)); } // Draw FrogPilot widgets @@ -527,7 +527,7 @@ void AnnotatedCameraWidget::drawSpeedWidget(QPainter &p, int x, int y, const QSt drawRoundedRect(p, set_speed_rect, top_radius, top_radius, bottom_radius, bottom_radius); // Draw MAX - QColor max_color = QColor(0x80, 0xd8, 0xa6, 0xff); + QColor max_color = QColor(0xaa, 0xaa, 0xaa, 0xff); p.setFont(InterFont(40, QFont::DemiBold)); p.setPen(max_color); p.drawText(set_speed_rect.adjusted(0, 27, 0, 0), Qt::AlignTop | Qt::AlignHCenter, title);