Update all usages of OsuSlider.TooltipText overrides to instead implement GetTooltipText

This commit is contained in:
Dean Herbert
2022-03-04 12:16:05 +09:00
parent 5cfa8b8821
commit abba49fd8f
10 changed files with 15 additions and 11 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
private class TimeSlider : OsuSliderBar<float>
{
public override LocalisableString TooltipText => Current.Value.ToString(@"N0") + "ms";
protected override LocalisableString GetTooltipText(float value) => $"{value:N0} ms";
}
}
}