mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +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,7 +233,8 @@ 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
|
||||||
this.ScrollSetup();
|
if (!this.AreaDirty)
|
||||||
|
this.ScrollSetup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue