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 582009a commit 84018b1
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) + 30;
int x = rect.left() + (btn_size - 24) / 2 - (UI_BORDER_SIZE * 2);
const int y = rect.bottom() - (muteDM ? 70 : 300);

// Enable Antialiasing
Expand Down

0 comments on commit 84018b1

Please sign in to comment.