1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Don't schedule call to updateSize in LoadComplete to ensure following FinishTransforms runs as expected

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
Dean Herbert 2022-02-04 22:31:41 +09:00 committed by GitHub
parent 5e47ce333c
commit d62885f30b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ namespace osu.Game.Graphics.Containers
{
base.LoadComplete();
Scheduler.AddOnce(updateSize);
updateSize();
sizableContainer.FinishTransforms();
}