1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

remove unnecessary values

This commit is contained in:
Aergwyn 2017-12-29 17:51:59 +01:00
parent f547c7986d
commit 5c3b67bcef

View File

@ -57,10 +57,7 @@ namespace osu.Game.Rulesets.Osu.Mods
if (!(drawable is DrawableOsuHitObject d))
return;
var fadeInStartTime = d.HitObject.StartTime - preEmpt;
var fadeInDuration = preEmpt * fade_in_duration_multiplier;
var fadeOutStartTime = fadeInStartTime + fadeInDuration;
var fadeOutStartTime = d.HitObject.StartTime - preEmpt + d.FadeIn;
var fadeOutDuration = preEmpt * fade_out_duration_multiplier;
// new duration from completed fade in to end (before fading out)