mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Removed an unnecessary element resize in ScrollableContainer
This commit is contained in:
parent
f3af0e246c
commit
281b967e8f
|
@ -70,7 +70,6 @@ void ScrollableContainer::resetComponent()
|
||||||
|
|
||||||
// This applies to the actual TextComponent that is getting displayed.
|
// This applies to the actual TextComponent that is getting displayed.
|
||||||
mChildren.front()->setAutoCalcExtent(glm::ivec2 {0, 1});
|
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.
|
// This is needed to resize to the designated area when the background image gets invalidated.
|
||||||
if (!mChildren.empty()) {
|
if (!mChildren.empty()) {
|
||||||
|
|
Loading…
Reference in a new issue