mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Added PauseOverlay.TogglePaused, renamed OnPlay and similar to OnResume, made Pause and Play public, added proper testing for the visual test(pause button instead of auto-pause, logging actions), made PauseOverlay's fade duration a constant instead of statically typed
This commit is contained in:
@ -101,7 +101,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
pauseOverlay = new PauseOverlay();
|
||||
pauseOverlay.OnPause += onPause;
|
||||
pauseOverlay.OnPlay += onPlay;
|
||||
pauseOverlay.OnResume += onResume;
|
||||
pauseOverlay.OnRetry += onRetry;
|
||||
pauseOverlay.OnQuit += onQuit;
|
||||
|
||||
@ -180,7 +180,7 @@ namespace osu.Game.Screens.Play
|
||||
sourceClock.Stop();
|
||||
}
|
||||
|
||||
private void onPlay()
|
||||
private void onResume()
|
||||
{
|
||||
scoreOverlay.KeyCounter.IsCounting = true;
|
||||
sourceClock.Start();
|
||||
|
Reference in New Issue
Block a user