From f1b5da25b0e92bd11b32554e05e717a8f6e90d23 Mon Sep 17 00:00:00 2001 From: Justin Mitchell Date: Mon, 15 Jun 2026 16:16:25 -0400 Subject: [PATCH] Expand continue-reading card clickable area Make the entire continue-reading card (cover, title, and gray area) clickable instead of just the cover photo. The clickable area now spans the full tile width rather than just the cover width plus padding. --- src/components/themes/lyra/LyraTheme.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/themes/lyra/LyraTheme.cpp b/src/components/themes/lyra/LyraTheme.cpp index ecb69a35..6d5e8e03 100644 --- a/src/components/themes/lyra/LyraTheme.cpp +++ b/src/components/themes/lyra/LyraTheme.cpp @@ -424,10 +424,11 @@ void LyraTheme::drawRecentBookCover(GfxRenderer& renderer, Rect rect, const std: coverWidth = LyraMetrics::values.homeCoverHeight * 0.6; } - // Tapping the continue-reading cover opens recentBooks[0] (home selector 0). + // Tapping anywhere on the continue-reading card (cover + title/gray area) opens + // recentBooks[0] (home selector 0) — full card width, not just the cover photo. if (hasContinueReading) { TouchRegistry::getInstance().add( - Rect{LyraMetrics::values.contentSidePadding, tileY, coverWidth + 2 * hPaddingInSelection, + Rect{LyraMetrics::values.contentSidePadding, tileY, tileWidth, LyraMetrics::values.homeCoverHeight + 2 * hPaddingInSelection}, 0, TouchRegistry::Cover); }