mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:35:35 +08:00
remove unnecessary change of spinner end sequence
it wasn't really visible anyways *shrug*
This commit is contained in:
parent
8a4ab6c03d
commit
006b63eb42
@ -86,23 +86,8 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
spinner.Background.Hide();
|
spinner.Background.Hide();
|
||||||
|
|
||||||
using (spinner.BeginAbsoluteSequence(fadeOutStartTime + longFadeDuration, true))
|
using (spinner.BeginAbsoluteSequence(fadeOutStartTime + longFadeDuration, true))
|
||||||
{
|
|
||||||
spinner.FadeOut(fadeOutDuration);
|
spinner.FadeOut(fadeOutDuration);
|
||||||
|
|
||||||
// speed up the end sequence accordingly
|
|
||||||
switch (state)
|
|
||||||
{
|
|
||||||
case ArmedState.Hit:
|
|
||||||
spinner.ScaleTo(spinner.Scale * 1.2f, fadeOutDuration * 2, Easing.Out);
|
|
||||||
break;
|
|
||||||
case ArmedState.Miss:
|
|
||||||
spinner.ScaleTo(spinner.Scale * 0.8f, fadeOutDuration * 2, Easing.In);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
spinner.Expire();
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user