From 716e413d228561378904ad0145c9dff7c9654bc3 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Tue, 20 May 2025 23:48:15 +0100 Subject: [PATCH] closer --- selfdrive/ui/installer/installer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index 3c3ad93d26..c5517f5cbe 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -45,12 +45,12 @@ void renderProgress(int progress) { BeginDrawing(); ClearBackground(BLACK); DrawTextEx(font, "Installing...", (Vector2){150, 290}, 110, 0, WHITE); - Rectangle bar = {150, 500, (float)GetScreenWidth() - 300, 72}; + Rectangle bar = {150, 570, (float)GetScreenWidth() - 300, 72}; DrawRectangleRec(bar, (Color){41, 41, 41, 255}); progress = std::clamp(progress, 0, 100); bar.width *= progress / 100.0f; DrawRectangleRec(bar, (Color){70, 91, 234, 255}); - DrawTextEx(font, (std::to_string(progress) + "%").c_str(), (Vector2){150, 600}, 90, 0, WHITE); + DrawTextEx(font, (std::to_string(progress) + "%").c_str(), (Vector2){150, 670}, 85, 0, WHITE); EndDrawing(); }