mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update overlay containers in lines with framework changes.
Allows closing the MusicController using escape.
This commit is contained in:
@ -22,6 +22,8 @@ namespace osu.Game.Overlays.Pause
|
||||
private const int button_height = 70;
|
||||
private const float background_alpha = 0.75f;
|
||||
|
||||
protected override bool HideOnEscape => false;
|
||||
|
||||
public Action OnResume;
|
||||
public Action OnRetry;
|
||||
public Action OnQuit;
|
||||
@ -83,6 +85,7 @@ namespace osu.Game.Overlays.Pause
|
||||
resume();
|
||||
return true;
|
||||
}
|
||||
|
||||
return base.OnKeyDown(state, args);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user