1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 07:42:58 +08:00

Corrected spinner judgement positions.

For some reason, spinner judgements would stack from the top left in an awkward fashion. This patch ensures that the judgement location will always be in the centre of the screen.
This commit is contained in:
Roxie is Flux3on 2021-10-24 15:28:38 -07:00
parent f60f604c2e
commit b8308b9715

View File

@ -39,7 +39,13 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
if (JudgedObject?.HitObject is OsuHitObject osuObject)
{
Position = osuObject.StackedEndPosition;
if (JudgedObject?.HitObject is Spinner)
{
Position = osuObject.Position;
} else
{
Position = osuObject.StackedEndPosition;
}
Scale = new Vector2(osuObject.Scale);
}
}