Skip to content

Commit

Permalink
Don't schedule call to updateSize in LoadComplete to ensure follo…
Browse files Browse the repository at this point in the history
…wing `FinishTransforms` runs as expected

Co-authored-by: Salman Ahmed <[email protected]>
  • Loading branch information
peppy and frenzibyte authored Feb 4, 2022
1 parent 5e47ce3 commit d62885f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Graphics/Containers/ScalingContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected override void LoadComplete()
{
base.LoadComplete();

Scheduler.AddOnce(updateSize);
updateSize();
sizableContainer.FinishTransforms();
}

Expand Down

0 comments on commit d62885f

Please sign in to comment.