mirror of https://github.com/ppy/osu
Fix GlobalHotkeys not working (regression due to masking rules).
This commit is contained in:
parent
d13b82d073
commit
737bd62c30
|
@ -13,6 +13,11 @@ public class GlobalHotkeys : Drawable
|
|||
|
||||
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