mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09: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 PopIn() => this.FadeIn(fade_duration);
|
||||||
protected override void PopOut() => this.FadeOut(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)
|
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||||
{
|
{
|
||||||
if (args.Repeat) return false;
|
if (args.Repeat) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user