mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +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:
parent
5e47ce333c
commit
d62885f30b
@ -129,7 +129,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
Scheduler.AddOnce(updateSize);
|
updateSize();
|
||||||
sizableContainer.FinishTransforms();
|
sizableContainer.FinishTransforms();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user