mirror of https://github.com/ppy/osu
Remove empty cases, add initial ball scale adjust.
This commit is contained in:
parent
717b263b77
commit
0cc8516aa3
|
@ -158,6 +158,7 @@ protected override void CheckForJudgements(bool userTriggered, double timeOffset
|
|||
protected override void UpdateCurrentState(ArmedState state)
|
||||
{
|
||||
Ball.FadeIn();
|
||||
Ball.ScaleTo(HitObject.Scale);
|
||||
|
||||
using (BeginDelayedSequence(slider.Duration, true))
|
||||
{
|
||||
|
@ -168,13 +169,9 @@ protected override void UpdateCurrentState(ArmedState state)
|
|||
|
||||
switch (state)
|
||||
{
|
||||
case ArmedState.Idle:
|
||||
break;
|
||||
case ArmedState.Hit:
|
||||
Ball.ScaleTo(HitObject.Scale * 1.4f, fade_out_time, Easing.Out);
|
||||
break;
|
||||
case ArmedState.Miss:
|
||||
break;
|
||||
}
|
||||
|
||||
this.FadeOut(fade_out_time, Easing.OutQuint).Expire();
|
||||
|
|
Loading…
Reference in New Issue