From 281b967e8fe40bf753737de8e2a0ce64b783c067 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 4 Sep 2024 17:16:28 +0200 Subject: [PATCH] Removed an unnecessary element resize in ScrollableContainer --- es-core/src/components/ScrollableContainer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/es-core/src/components/ScrollableContainer.cpp b/es-core/src/components/ScrollableContainer.cpp index 4885d8a49..3b394d606 100644 --- a/es-core/src/components/ScrollableContainer.cpp +++ b/es-core/src/components/ScrollableContainer.cpp @@ -70,7 +70,6 @@ void ScrollableContainer::resetComponent() // This applies to the actual TextComponent that is getting displayed. mChildren.front()->setAutoCalcExtent(glm::ivec2 {0, 1}); - mChildren.front()->setSize(mSize.x, 0.0f); // This is needed to resize to the designated area when the background image gets invalidated. if (!mChildren.empty()) {