mirror of
https://github.com/ppy/osu
synced 2025-01-12 09:09:44 +00:00
Fix GlobalHotkeys not working (regression due to masking rules).
This commit is contained in:
parent
7d08ccaae4
commit
a621a65eb5
@ -13,6 +13,11 @@ namespace osu.Game.Input
|
|||||||
|
|
||||||
public override bool HandleInput => true;
|
public override bool HandleInput => true;
|
||||||
|
|
||||||
|
public GlobalHotkeys()
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
}
|
||||||
|
|
||||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||||
{
|
{
|
||||||
return Handler(state, args);
|
return Handler(state, args);
|
||||||
|
Loading…
Reference in New Issue
Block a user