From 3e175530e2256d44d97a788ab3d6a2600ab2dac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=80=90TIM=E3=80=91?= <90225659+CT921@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:23:15 +0800 Subject: [PATCH] Update hud.cc --- selfdrive/ui/qt/onroad/hud.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad/hud.cc b/selfdrive/ui/qt/onroad/hud.cc index 63b3cae61..ee8869e48 100644 --- a/selfdrive/ui/qt/onroad/hud.cc +++ b/selfdrive/ui/qt/onroad/hud.cc @@ -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