1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix skin component previews on toolbox buttons having incorrect size for one frame

This commit is contained in:
Joseph Madamba 2023-02-10 17:58:34 -08:00
parent 65bb3a5cad
commit bfd83768c1

View File

@ -148,9 +148,9 @@ namespace osu.Game.Overlays.SkinEditor
component.Origin = Anchor.Centre; component.Origin = Anchor.Centre;
} }
protected override void Update() protected override void UpdateAfterChildren()
{ {
base.Update(); base.UpdateAfterChildren();
if (component.DrawSize != Vector2.Zero) if (component.DrawSize != Vector2.Zero)
{ {