Comment and better stacking of FadeOuts

This commit is contained in:
Dean Herbert
2018-01-04 20:47:42 +09:00
parent 1f62fe19d5
commit 717b263b77

View File

@ -163,7 +163,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{ {
const float fade_out_time = 450; const float fade_out_time = 450;
Body.FadeOut(fade_out_time, Easing.Out); // intentionally pile on an extra FadeOut to make it happen much faster.
Ball.FadeOut(fade_out_time / 4, Easing.Out); Ball.FadeOut(fade_out_time / 4, Easing.Out);
switch (state) switch (state)
@ -177,7 +177,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
break; break;
} }
this.FadeOut(800, Easing.Out).Expire(); this.FadeOut(fade_out_time, Easing.OutQuint).Expire();
} }
} }