Change edge dashes to scale linearly once again

This commit is contained in:
smoogipoo
2019-04-01 10:58:26 +09:00
parent b402981fc6
commit b2396b82a5
2 changed files with 7 additions and 6 deletions

View File

@ -25,6 +25,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Preprocessing
/// </summary>
public readonly double StrainTime;
public readonly double ClockRate;
public readonly double HalfCatcherWidth;
public CatchDifficultyHitObject(HitObject hitObject, HitObject lastObject, double clockRate, float halfCatcherWidth)
: base(hitObject, lastObject, clockRate)
@ -38,6 +39,8 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Preprocessing
// Every strain interval is hard capped at the equivalent of 375 BPM streaming speed as a safety measure
StrainTime = Math.Max(40, DeltaTime);
ClockRate = clockRate;
HalfCatcherWidth = halfCatcherWidth;
}
}
}