1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

remove early fadeout of sliderball on hidden

it shouldn't have been done because it makes fast sliders unplayable as they never appear in the first place, ooops
This commit is contained in:
Aergwyn 2018-01-07 09:08:26 +01:00
parent 006b63eb42
commit 54c0197eb0

View File

@ -70,14 +70,7 @@ namespace osu.Game.Rulesets.Osu.Mods
break;
case DrawableSlider slider:
using (slider.BeginAbsoluteSequence(fadeOutStartTime, true))
{
slider.Body.FadeOut(longFadeDuration, Easing.Out);
// delay a bit less to let the sliderball fade out peacefully instead of having a hard cut
using (slider.BeginDelayedSequence(longFadeDuration - fadeOutDuration, true))
slider.Ball.FadeOut(fadeOutDuration);
}
break;
case DrawableSpinner spinner:
// hide elements we don't care about.
@ -87,7 +80,6 @@ namespace osu.Game.Rulesets.Osu.Mods
using (spinner.BeginAbsoluteSequence(fadeOutStartTime + longFadeDuration, true))
spinner.FadeOut(fadeOutDuration);
break;
}
}