From ea4c15dc384e30d082827b5107cb2c16939eeb9a Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Tue, 20 May 2025 22:51:34 +0100 Subject: [PATCH] not rounded --- 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 a7e187286e..f7cd11685a 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -42,10 +42,10 @@ void renderProgress(int progress) { ClearBackground(BLACK); DrawText("Installing...", 150, 290, 90, WHITE); Rectangle bar = {150, 500, (float)GetScreenWidth() - 300, 72}; - DrawRectangleRounded(bar, 0.25f, 10, (Color){ 41, 41, 41, 255 }); + DrawRectangleRec(bar, (Color){41, 41, 41, 255}); progress = std::clamp(progress, 0, 100); bar.width *= progress / 100.0f; - DrawRectangleRounded(bar, 0.25f, 10, (Color){ 70, 91, 234, 255 }); + DrawRectangleRec(bar, (Color){70, 91, 234, 255}); DrawText((std::to_string(progress) + "%").c_str(), 150, 600, 70, WHITE); EndDrawing(); }