From db5948ee4be00d2920983488618ecd9e29d47e7d Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Fri, 20 Oct 2023 17:38:43 +0200 Subject: [PATCH] Fixed an issue where scrollable text containers were sometimes not updated correctly --- es-core/src/components/ScrollableContainer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/es-core/src/components/ScrollableContainer.cpp b/es-core/src/components/ScrollableContainer.cpp index 5bc21be91..f64a1c8b4 100644 --- a/es-core/src/components/ScrollableContainer.cpp +++ b/es-core/src/components/ScrollableContainer.cpp @@ -66,6 +66,8 @@ void ScrollableContainer::resetComponent() mAutoScrollResetAccumulator = 0; mAutoScrollAccumulator = -mAutoScrollDelay + mAutoScrollSpeed; mAtEnd = false; + mUpdatedSize = false; + // This is needed to resize to the designated area when the background image gets invalidated. if (!mChildren.empty()) { float combinedHeight {0.0f};