From a621a65eb56449a031247ef8a6bf0e0448e5a2a3 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 20 Feb 2017 15:27:48 +0900 Subject: [PATCH] Fix GlobalHotkeys not working (regression due to masking rules). --- osu.Game/Input/GlobalHotkeys.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osu.Game/Input/GlobalHotkeys.cs b/osu.Game/Input/GlobalHotkeys.cs index 96f8036aed..b1b22f7069 100644 --- a/osu.Game/Input/GlobalHotkeys.cs +++ b/osu.Game/Input/GlobalHotkeys.cs @@ -13,6 +13,11 @@ namespace osu.Game.Input public override bool HandleInput => true; + public GlobalHotkeys() + { + RelativeSizeAxes = Axes.Both; + } + protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) { return Handler(state, args);