Remove empty cases, add initial ball scale adjust.

This commit is contained in:
Dean Herbert 2018-01-04 20:53:33 +09:00 committed by GitHub
parent 717b263b77
commit 0cc8516aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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();