mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21: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:
commit
a9bb3b7ae0
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user