1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Rely on bindable's formatting rather than setting a default

This commit is contained in:
Dean Herbert 2018-02-08 11:12:05 +09:00
parent 7e83aedb86
commit a70989cb70

View File

@ -42,7 +42,6 @@ namespace osu.Game.Screens.Play.PlayerSettings
{
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight,
Text = "1.0x",
Font = @"Exo2.0-Bold",
}
},
@ -60,6 +59,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
};
sliderbar.Bindable.ValueChanged += rateMultiplier => multiplierText.Text = $"{sliderbar.Bar.TooltipText}x";
sliderbar.Bindable.TriggerChange();
}
protected override void LoadComplete()