mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:07:33 +08:00
Merge pull request #378 from peppy/general-fixes
Fix GlobalHotkeys not working (regression due to masking rules).
This commit is contained in:
commit
86a3d7b2c0
@ -1 +1 @@
|
||||
Subproject commit 697d8b7e9530ba7914d9c78012329ce1559e3681
|
||||
Subproject commit b3f409ffb027f1b16c639c7ce3bb9dc4f215f79b
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user