1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 05:19:55 +08:00

Comment and better stacking of FadeOuts

This commit is contained in:
Dean Herbert
2018-01-04 20:47:42 +09:00
Unverified
parent 1f62fe19d5
commit 717b263b77
@@ -163,7 +163,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
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);
switch (state)
@@ -177,7 +177,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
break;
}
this.FadeOut(800, Easing.Out).Expire();
this.FadeOut(fade_out_time, Easing.OutQuint).Expire();
}
}