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:
parent
65bb3a5cad
commit
bfd83768c1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user