mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +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))
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user