wip
This commit is contained in:
@@ -1259,15 +1259,6 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) {
|
|||||||
drawStatusBar(p);
|
drawStatusBar(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (customSignals != 0 && (turnSignalLeft || turnSignalRight) && !bigMapOpen) {
|
|
||||||
// if (!animationTimer->isActive()) {
|
|
||||||
// animationTimer->start(totalFrames * 11); // 440 milliseconds per loop; syncs up perfectly with my 2019 Lexus ES 350 turn signal clicks
|
|
||||||
// }
|
|
||||||
// drawTurnSignals(p);
|
|
||||||
// } else if (animationTimer->isActive()) {
|
|
||||||
// animationTimer->stop();
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (leadInfo) {
|
if (leadInfo) {
|
||||||
drawLeadInfo(p);
|
drawLeadInfo(p);
|
||||||
}
|
}
|
||||||
@@ -1493,7 +1484,7 @@ void AnnotatedCameraWidget::drawLeadInfo(QPainter &p) {
|
|||||||
speedConversion = MS_TO_KPH;
|
speedConversion = MS_TO_KPH;
|
||||||
} else {
|
} else {
|
||||||
accelerationUnit = tr(" ft/s²");
|
accelerationUnit = tr(" ft/s²");
|
||||||
leadDistanceUnit = tr(mapOpen ? "ft" : "feet");
|
leadDistanceUnit = tr("feet");
|
||||||
leadSpeedUnit = tr("mph");
|
leadSpeedUnit = tr("mph");
|
||||||
|
|
||||||
accelerationConversion = METER_TO_FOOT;
|
accelerationConversion = METER_TO_FOOT;
|
||||||
|
|||||||
Reference in New Issue
Block a user