From ad7814137c0a96461b9e4edae6ff6bc16316e8a5 Mon Sep 17 00:00:00 2001 From: bean <62624884+alpsfordays@users.noreply.github.com> Date: Mon, 26 Jan 2026 18:43:47 -0500 Subject: [PATCH] Fix: Fixed font list in FontSelectionActivity Fixed issue with the fonts list in the font selection menu; previously, only 8 fonts at a time could be displayed. TBD: Implementing scrolling if there are more fonts than screen real estate; the current function will continue rendering font names until it hits the bottom --- src/activities/settings/FontSelectionActivity.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/activities/settings/FontSelectionActivity.cpp b/src/activities/settings/FontSelectionActivity.cpp index 9915a14c..7b797b01 100644 --- a/src/activities/settings/FontSelectionActivity.cpp +++ b/src/activities/settings/FontSelectionActivity.cpp @@ -94,9 +94,8 @@ void FontSelectionActivity::render() const { return; } - for (int i = 0; i < itemsPerPage; i++) { + for (int i = 0; i < (int)fontFamilies.size(); i++) { int idx = scrollOffset + i; - if (idx >= (int)fontFamilies.size()) break; // Draw selection box if (idx == selectedIndex) {