wip
This commit is contained in:
@@ -441,7 +441,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
|
||||
p.restore();
|
||||
|
||||
if (!scene.hide_max_speed) {
|
||||
drawSpeedWidget (p, 60, 45, const QString("MAX"), const QString("33"), const QColor(0xff, 0xff, 0xff));
|
||||
drawSpeedWidget(p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff));
|
||||
}
|
||||
|
||||
// Draw FrogPilot widgets
|
||||
@@ -522,7 +522,7 @@ void AnnotatedCameraWidget::drawSpeedWidget(QPainter &p, int &x, int &y, const Q
|
||||
int bottom_radius = has_eu_speed_limit ? 100 : 32;
|
||||
|
||||
QRect set_speed_rect(QPoint(x + (default_size.width() - set_speed_size.width()) / 2, y), set_speed_size);
|
||||
p.setPen(QPen(color), 10));
|
||||
p.setPen(QPen(colorSpeed), 10));
|
||||
p.setBrush(blackColor(166));
|
||||
drawRoundedRect(p, set_speed_rect, top_radius, top_radius, bottom_radius, bottom_radius);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user