1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Remove unnecessary centering logic in DrawableJudgement

This commit is contained in:
Dean Herbert 2022-11-07 17:05:16 +09:00
parent 8745c2f016
commit 2b72c3833b

View File

@ -168,11 +168,7 @@ namespace osu.Game.Rulesets.Judgements
RemoveInternal(JudgementBody, true);
AddInternal(JudgementBody = new SkinnableDrawable(new GameplaySkinComponent<HitResult>(type), _ =>
CreateDefaultJudgement(type), confineMode: ConfineMode.NoScaling)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
});
CreateDefaultJudgement(type), confineMode: ConfineMode.NoScaling));
JudgementBody.OnSkinChanged += () =>
{