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:
parent
f60f604c2e
commit
b8308b9715
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user