This commit is contained in:
Your Name
2024-05-17 14:30:11 -05:00
parent ba1a13a987
commit 52b6f7abea

View File

@@ -441,7 +441,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
p.restore(); p.restore();
if (!scene.hide_max_speed) { 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 // 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); drawRoundedRect(p, set_speed_rect, top_radius, top_radius, bottom_radius, bottom_radius);
// Draw MAX // 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.setFont(InterFont(40, QFont::DemiBold));
p.setPen(max_color); p.setPen(max_color);
p.drawText(set_speed_rect.adjusted(0, 27, 0, 0), Qt::AlignTop | Qt::AlignHCenter, title); p.drawText(set_speed_rect.adjusted(0, 27, 0, 0), Qt::AlignTop | Qt::AlignHCenter, title);