mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
remove unnecessary values
This commit is contained in:
parent
f547c7986d
commit
5c3b67bcef
@ -57,10 +57,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
if (!(drawable is DrawableOsuHitObject d))
|
if (!(drawable is DrawableOsuHitObject d))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var fadeInStartTime = d.HitObject.StartTime - preEmpt;
|
var fadeOutStartTime = d.HitObject.StartTime - preEmpt + d.FadeIn;
|
||||||
var fadeInDuration = preEmpt * fade_in_duration_multiplier;
|
|
||||||
|
|
||||||
var fadeOutStartTime = fadeInStartTime + fadeInDuration;
|
|
||||||
var fadeOutDuration = preEmpt * fade_out_duration_multiplier;
|
var fadeOutDuration = preEmpt * fade_out_duration_multiplier;
|
||||||
|
|
||||||
// new duration from completed fade in to end (before fading out)
|
// new duration from completed fade in to end (before fading out)
|
||||||
|
Loading…
Reference in New Issue
Block a user