mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed an issue where scrollable text containers were sometimes not updated correctly
This commit is contained in:
parent
b43e466175
commit
db5948ee4b
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue