mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 23:12:55 +08:00
Rename method to better match purpose
This commit is contained in:
parent
01bd765384
commit
2dd5911256
@ -96,10 +96,10 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
GameplayClock.IsPaused.BindTo(IsPaused);
|
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)
|
if (isPaused.NewValue)
|
||||||
this.TransformBindableTo(pauseFreqAdjust, 0, 200, Easing.Out).OnComplete(_ => adjustableClock.Stop());
|
this.TransformBindableTo(pauseFreqAdjust, 0, 200, Easing.Out).OnComplete(_ => adjustableClock.Stop());
|
||||||
|
Loading…
Reference in New Issue
Block a user