mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:33:21 +08:00
Rely on bindable's formatting rather than setting a default
This commit is contained in:
parent
7e83aedb86
commit
a70989cb70
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user