Disable windows key only while in gameplay.

This commit is contained in:
Lucas A
2020-07-23 12:45:14 +02:00
parent 4102dae999
commit 5e6adfff99
2 changed files with 15 additions and 2 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Desktop
LoadComponentAsync(new DiscordRichPresence(), Add);
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows)
LoadComponentAsync(new GameplayWinKeyHandler(), Add);
LoadComponentAsync(new GameplayWinKeyHandler(ScreenStack), Add);
}
protected override void ScreenChanged(IScreen lastScreen, IScreen newScreen)