This commit is contained in:
Your Name
2024-05-17 11:24:08 -05:00
parent 9217c612f1
commit 08f5937937

View File

@@ -1259,15 +1259,6 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &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) {
drawLeadInfo(p);
}
@@ -1493,7 +1484,7 @@ void AnnotatedCameraWidget::drawLeadInfo(QPainter &p) {
speedConversion = MS_TO_KPH;
} else {
accelerationUnit = tr(" ft/s²");
leadDistanceUnit = tr(mapOpen ? "ft" : "feet");
leadDistanceUnit = tr("feet");
leadSpeedUnit = tr("mph");
accelerationConversion = METER_TO_FOOT;