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

Merge pull request #4321 from peppy/fix-playback-rate-display

Fix regression causing playback rate to display incorrectly
This commit is contained in:
Dan Balasescu 2019-02-24 15:53:32 +09:00 committed by GitHub
commit a9bb3b7ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
// can't trigger this line instantly as the underlying clock may not be ready to accept adjustments yet. // can't trigger this line instantly as the underlying clock may not be ready to accept adjustments yet.
rateSlider.Bindable.ValueChanged += multiplier => AdjustableClock.Rate = clockRate * multiplier.NewValue; rateSlider.Bindable.ValueChanged += multiplier => AdjustableClock.Rate = clockRate * multiplier.NewValue;
rateSlider.Bindable.BindValueChanged(multiplier => multiplierText.Text = $"{multiplier:0.0}x", true); rateSlider.Bindable.BindValueChanged(multiplier => multiplierText.Text = $"{multiplier.NewValue:0.0}x", true);
} }
} }
} }