Changed MAX_TIME_RANGE instead of the single instance

This commit is contained in:
Jihoon Yang
2020-08-18 01:44:30 -07:00
parent 628be66653
commit 4ddc04793f
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Mania.Configuration
public override TrackedSettings CreateTrackedSettings() => new TrackedSettings public override TrackedSettings CreateTrackedSettings() => new TrackedSettings
{ {
new TrackedSetting<double>(ManiaRulesetSetting.ScrollTime, new TrackedSetting<double>(ManiaRulesetSetting.ScrollTime,
v => new SettingDescription(v, "Scroll Speed", $"{(int)Math.Round(13720.0 / v)} ({v}ms)")) v => new SettingDescription(v, "Scroll Speed", $"{(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / v)} ({v}ms)"))
}; };
} }

View File

@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Mania.UI
/// <summary> /// <summary>
/// The maximum time range. This occurs at a <see cref="relativeTimeRange"/> of 1. /// The maximum time range. This occurs at a <see cref="relativeTimeRange"/> of 1.
/// </summary> /// </summary>
public const double MAX_TIME_RANGE = 6000; public const double MAX_TIME_RANGE = 13720;
protected new ManiaPlayfield Playfield => (ManiaPlayfield)base.Playfield; protected new ManiaPlayfield Playfield => (ManiaPlayfield)base.Playfield;