1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 21:34:36 +08:00

Reapply "Fix triangles judgement mispositioned on a miss"

This reverts commit 6ec718304e.
This commit is contained in:
Salman Alshamrani
2025-01-21 05:45:37 -05:00
Unverified
parent 6ec718304e
commit b63d94101c
@@ -6,6 +6,7 @@
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
using osuTK;
namespace osu.Game.Rulesets.Mania.UI
{
@@ -35,8 +36,20 @@ namespace osu.Game.Rulesets.Mania.UI
switch (Result)
{
case HitResult.None:
this.FadeOutFromOne(800);
break;
case HitResult.Miss:
base.PlayAnimation();
this.ScaleTo(1.6f);
this.ScaleTo(1, 100, Easing.In);
this.MoveToY(judgement_y_position);
this.MoveToOffset(new Vector2(0, 100), 800, Easing.InQuint);
this.RotateTo(0);
this.RotateTo(40, 800, Easing.InQuint);
this.FadeOutFromOne(800);
break;
default: