1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 19:20:47 +08:00

Fix GlobalHotkeys not working (regression due to masking rules).

This commit is contained in:
Dean Herbert
2017-02-20 15:27:48 +09:00
Unverified
parent d13b82d073
commit 737bd62c30
+5
View File
@@ -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);