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

Rename startTime in parameters

This commit is contained in:
PercyDan54 2021-05-15 11:26:16 +08:00
parent a4c1b9a1a7
commit 63ac430386
No known key found for this signature in database
GPG Key ID: 6AEA7C525131BAF3

View File

@ -117,7 +117,7 @@ namespace osu.Game.Rulesets.Osu.Mods
}
}
private (double startTime, double fadeDuration) getFadeOutParameters(DrawableOsuHitObject drawableObject)
private (double fadeStartTime, double fadeDuration) getFadeOutParameters(DrawableOsuHitObject drawableObject)
{
switch (drawableObject)
{
@ -135,7 +135,7 @@ namespace osu.Game.Rulesets.Osu.Mods
return getParameters(drawableObject.HitObject);
}
static (double startTime, double fadeDuration) getParameters(OsuHitObject hitObject)
static (double fadeStartTime, double fadeDuration) getParameters(OsuHitObject hitObject)
{
var fadeOutStartTime = hitObject.StartTime - hitObject.TimePreempt + hitObject.TimeFadeIn;
var fadeOutDuration = hitObject.TimePreempt * fade_out_duration_multiplier;