Properly center fallback custom image

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
jpirnay
2026-04-30 18:57:18 +02:00
co-authored by Copilot
parent fb9cf4615a
commit 65d36d4f24
2 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ class SleepActivity final : public Activity {
void renderDefaultSleepScreen() const;
void renderCustomSleepScreen() const;
void renderCoverSleepScreen() const;
void renderBitmapSleepScreen(const Bitmap& bitmap, const BookOverlayInfo& overlayInfo) const;
void renderBitmapSleepScreen(const Bitmap& bitmap, const BookOverlayInfo& overlayInfo,
bool topAlignForCoverFit = false) const;
void renderBlankSleepScreen() const;
void renderOverlaySleepScreen() const;
BookOverlayInfo getBookOverlayInfo(const std::string& bookPath) const;