From f04b8aa9a9711090f8bce9c08048909e47fe3fd4 Mon Sep 17 00:00:00 2001 From: Eloren1 Date: Thu, 4 Jun 2026 17:54:57 +0300 Subject: [PATCH] fix: apply progress bar offset from top instead of bottom edge (#2250) --- src/components/themes/BaseTheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/themes/BaseTheme.cpp b/src/components/themes/BaseTheme.cpp index 44b8145e..87d5af23 100644 --- a/src/components/themes/BaseTheme.cpp +++ b/src/components/themes/BaseTheme.cpp @@ -763,7 +763,7 @@ void BaseTheme::drawStatusBar(GfxRenderer& renderer, const float bookProgress, c const int barMarginRight = fillMargin ? 0 : orientedMarginRight; const int progressBarMaxWidth = renderer.getScreenWidth() - barMarginLeft - barMarginRight; const int progressBarY = renderer.getScreenHeight() - orientedMarginBottom - - ((SETTINGS.statusBarProgressBarThickness + 1) * 2) - paddingBottom; + ((SETTINGS.statusBarProgressBarThickness + 1) * 2) - paddingBottom + (fillMargin ? 1 : 0); size_t progress; if (SETTINGS.statusBarProgressBar == CrossPointSettings::STATUS_BAR_PROGRESS_BAR::BOOK_PROGRESS) { progress = static_cast(bookProgress);