mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 02:32:55 +08:00
Fix anchors/origins for legacy pieces
This commit is contained in:
parent
2e88e283d8
commit
a835ca9612
@ -40,7 +40,13 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
||||
Y = scorePosition ?? 0;
|
||||
|
||||
if (animation != null)
|
||||
InternalChild = animation;
|
||||
{
|
||||
InternalChild = animation.With(d =>
|
||||
{
|
||||
d.Anchor = Anchor.Centre;
|
||||
d.Origin = Anchor.Centre;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void PlayAnimation()
|
||||
|
Loading…
Reference in New Issue
Block a user