From 6a1d6e2844edeaccc93d64b7289a68904c5a0a31 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 21 Dec 2024 13:15:11 +0100 Subject: [PATCH] Fixed an issue where the text element containerStartDelay timer was sometimes not reset --- es-core/src/components/ScrollableContainer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/es-core/src/components/ScrollableContainer.cpp b/es-core/src/components/ScrollableContainer.cpp index 010ffca89..b8a933a8e 100644 --- a/es-core/src/components/ScrollableContainer.cpp +++ b/es-core/src/components/ScrollableContainer.cpp @@ -174,6 +174,7 @@ void ScrollableContainer::update(int deltaTime) // Don't scroll if the media viewer or screensaver is active or if text scrolling is disabled; if (mWindow->isMediaViewerActive() || mWindow->isScreensaverActive() || !mWindow->getAllowTextScrolling()) { + mAutoScrollAccumulator = -mAutoScrollDelay; if (mScrollPos != glm::vec2 {0.0f, 0.0f} && !mWindow->isLaunchScreenDisplayed()) resetComponent(); return;