1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Merge pull request #22607 from Joehuu/fix-skin-component-one-frame-sizing

Fix skin component previews on toolbox buttons having incorrect size for one frame
This commit is contained in:
Dean Herbert 2023-02-11 12:49:37 +09:00 committed by GitHub
commit 2ecc3e773b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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