1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 19:42:56 +08:00

Rename method to better match purpose

This commit is contained in:
Dean Herbert 2020-12-11 14:44:01 +09:00
parent 01bd765384
commit 2dd5911256

View File

@ -96,10 +96,10 @@ namespace osu.Game.Screens.Play
GameplayClock.IsPaused.BindTo(IsPaused);
IsPaused.BindValueChanged(onPaused);
IsPaused.BindValueChanged(onPauseChanged);
}
private void onPaused(ValueChangedEvent<bool> isPaused)
private void onPauseChanged(ValueChangedEvent<bool> isPaused)
{
if (isPaused.NewValue)
this.TransformBindableTo(pauseFreqAdjust, 0, 200, Easing.Out).OnComplete(_ => adjustableClock.Stop());