1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 01:43:39 +08:00

Allow setting osu!mania scroll speed to single decimal precision

Addresses https://github.com/ppy/osu/discussions/30663.
This commit is contained in:
Dean Herbert
2024-11-22 17:36:28 +09:00
Unverified
parent 479ff7eb41
commit 29757ffdf2
5 changed files with 12 additions and 12 deletions
@@ -80,9 +80,9 @@ namespace osu.Game.Localisation
public static LocalisableString TimingBasedColouring => new TranslatableString(getKey(@"Timing_based_colouring"), @"Timing-based note colouring");
/// <summary>
/// "{0}ms (speed {1})"
/// "{0}ms (speed {1:N1})"
/// </summary>
public static LocalisableString ScrollSpeedTooltip(int scrollTime, int scrollSpeed) => new TranslatableString(getKey(@"ruleset"), @"{0}ms (speed {1})", scrollTime, scrollSpeed);
public static LocalisableString ScrollSpeedTooltip(int scrollTime, double scrollSpeed) => new TranslatableString(getKey(@"ruleset"), @"{0}ms (speed {1:N1})", scrollTime, scrollSpeed);
/// <summary>
/// "Touch control scheme"