mirror of
https://github.com/ppy/osu
synced 2025-01-09 07:39:46 +00:00
Use scroll speed localisation in one more usage
This commit is contained in:
parent
d19b35bd5f
commit
eb0f30c641
@ -4,6 +4,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using osu.Framework.Configuration.Tracking;
|
using osu.Framework.Configuration.Tracking;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
|
using osu.Game.Localisation;
|
||||||
using osu.Game.Rulesets.Configuration;
|
using osu.Game.Rulesets.Configuration;
|
||||||
using osu.Game.Rulesets.Mania.UI;
|
using osu.Game.Rulesets.Mania.UI;
|
||||||
|
|
||||||
@ -30,8 +31,8 @@ namespace osu.Game.Rulesets.Mania.Configuration
|
|||||||
new TrackedSetting<double>(ManiaRulesetSetting.ScrollTime,
|
new TrackedSetting<double>(ManiaRulesetSetting.ScrollTime,
|
||||||
scrollTime => new SettingDescription(
|
scrollTime => new SettingDescription(
|
||||||
rawValue: scrollTime,
|
rawValue: scrollTime,
|
||||||
name: "Scroll Speed",
|
name: RulesetSettingsStrings.ScrollSpeed,
|
||||||
value: $"{scrollTime}ms (speed {(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / scrollTime)})"
|
value: RulesetSettingsStrings.ScrollSpeedTooltip(scrollTime, (int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / scrollTime))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user