mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +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:
commit
2ecc3e773b
@ -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