new display format

This commit is contained in:
cdwcgt 2022-09-08 19:12:54 +08:00
parent f0850c42e5
commit 09fa24c563
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ protected override void InitialiseDefaults()
scrollTime => new SettingDescription(
rawValue: scrollTime,
name: "Scroll Speed",
value: $"{(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / scrollTime)} ({scrollTime}ms)"
value: $"{scrollTime}ms (speed {(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / scrollTime)})"
)
)
};

View File

@ -49,7 +49,7 @@ private void load()
private class ManiaScrollSlider : OsuSliderBar<double>
{
public override LocalisableString TooltipText => $"{(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / Current.Value)} ({Current.Value}ms)";
public override LocalisableString TooltipText => $"{Current.Value}ms (speed {(int)Math.Round(DrawableManiaRuleset.MAX_TIME_RANGE / Current.Value)})";
}
}
}