Full screen refresh of EpubReaderScreen every 10 renders

This is done in an effort to minimise ghosting
This commit is contained in:
Dave Allie
2025-12-05 22:19:44 +11:00
parent 2631613b8d
commit fa0f27df6a
2 changed files with 13 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ class EpubReaderScreen final : public Screen {
SemaphoreHandle_t sectionMutex = nullptr;
int currentSpineIndex = 0;
int nextPageNumber = 0;
int pagesUntilFullRefresh = 0;
bool updateRequired = false;
const std::function<void()> onGoHome;