mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Fix PlayerSettingsOverlay not reappearing when Hidden
This commit is contained in:
parent
d9654e4d64
commit
b0fbae9dfc
@ -49,6 +49,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
protected override void PopIn() => this.FadeIn(fade_duration);
|
||||
protected override void PopOut() => this.FadeOut(fade_duration);
|
||||
|
||||
//We want to handle keyboard inputs all the time in order to trigger ToggleVisibility() when not visible
|
||||
public override bool HandleKeyboardInput => true;
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user