mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-01 05:10:50 +01:00
fixed panels unnecessarily trying to ScrollSetup (regression 3127ad5
)
This commit is contained in:
parent
30432e43d4
commit
b2f457088d
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue