mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Remove empty cases, add initial ball scale adjust.
This commit is contained in:
parent
717b263b77
commit
0cc8516aa3
@ -158,6 +158,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
protected override void UpdateCurrentState(ArmedState state)
|
||||
{
|
||||
Ball.FadeIn();
|
||||
Ball.ScaleTo(HitObject.Scale);
|
||||
|
||||
using (BeginDelayedSequence(slider.Duration, true))
|
||||
{
|
||||
@ -168,13 +169,9 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
|
||||
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
Block a user