1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 12:58:33 +01:00

fixed panels unnecessarily trying to ScrollSetup (regression 3127ad5)

This commit is contained in:
Ell 2023-05-21 11:28:07 +02:00
parent 30432e43d4
commit b2f457088d

View file

@ -233,6 +233,7 @@ namespace MLEM.Ui.Elements {
if (grandchild) { if (grandchild) {
this.ScrollChildren(); this.ScrollChildren();
// we also need to re-setup here in case the child is involved in a special GetTotalCoveredArea // we also need to re-setup here in case the child is involved in a special GetTotalCoveredArea
if (!this.AreaDirty)
this.ScrollSetup(); this.ScrollSetup();
} }
} }