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 3e17553 commit 582009a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/ui/qt/onroad/hud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ void HudRenderer::drawDrivingPersonalities(QPainter &p, const QRect &rect) {
static int lastProfile = 4;
constexpr int fadeDuration = 1000; // 1 second
constexpr int textDuration = 3000; // 3 seconds
int x = rect.left() + (btn_size - 24) / 2 - (UI_BORDER_SIZE * 2) + 80;

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

// Enable Antialiasing
Expand Down

0 comments on commit 582009a

Please sign in to comment.