1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-10-31 21:00:51 +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,7 +233,8 @@ namespace MLEM.Ui.Elements {
if (grandchild) {
this.ScrollChildren();
// we also need to re-setup here in case the child is involved in a special GetTotalCoveredArea
this.ScrollSetup();
if (!this.AreaDirty)
this.ScrollSetup();
}
}