Skip to content

Commit

Permalink
Update hud.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
CT921 authored Nov 1, 2024
1 parent 26425a4 commit 3e17553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/qt/onroad/hud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void HudRenderer::drawDrivingPersonalities(QPainter &p, const QRect &rect) {
constexpr int fadeDuration = 1000; // 1 second
constexpr int textDuration = 3000; // 3 seconds

int x = rect.left() + (btn_size - 24) / 2 - (UI_BORDER_SIZE * 2) + 100;
int x = rect.left() + (btn_size - 24) / 2 - (UI_BORDER_SIZE * 2) + 80;
const int y = rect.bottom() - (muteDM ? 70 : 300);

// Enable Antialiasing
Expand Down

0 comments on commit 3e17553

Please sign in to comment.