This commit is contained in:
Your Name
2024-04-29 19:59:00 -05:00
parent 5d3d2d7a39
commit e3b5a88027

View File

@@ -768,9 +768,12 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
// current speed // current speed
if (!(scene.hide_speed || bigMapOpen)) { if (!(scene.hide_speed || bigMapOpen)) {
p.setFont(InterFont(176, QFont::Bold)); // CLEARPILOT changes to 120 from ~176
// Maybe we want to hide this?
p.setFont(InterFont(120, QFont::Bold));
drawText(p, rect().center().x(), 210, speedStr); drawText(p, rect().center().x(), 210, speedStr);
p.setFont(InterFont(66)); // CLEARPILOT changes to 40 from 66
p.setFont(InterFont(40));
drawText(p, rect().center().x(), 290, speedUnit, 200); drawText(p, rect().center().x(), 290, speedUnit, 200);
} }
@@ -1445,7 +1448,8 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) {
bottom_layout->setAlignment(map_settings_btn_bottom, rightHandDM ? Qt::AlignLeft : Qt::AlignRight); bottom_layout->setAlignment(map_settings_btn_bottom, rightHandDM ? Qt::AlignLeft : Qt::AlignRight);
} }
recorder_btn->setVisible(scene.screen_recorder && !mapOpen); // recorder_btn->setVisible(scene.screen_recorder && !mapOpen);
recorder_btn->setVisible(false);
} }
Compass::Compass(QWidget *parent) : QWidget(parent), scene(uiState()->scene) { Compass::Compass(QWidget *parent) : QWidget(parent), scene(uiState()->scene) {