mirror of
https://github.com/ppy/osu
synced 2025-02-08 14:17:29 +00:00
Fix potential nullref
This commit is contained in:
parent
e64f455ff7
commit
09089a3126
@ -30,7 +30,8 @@ namespace osu.Game.Input.Bindings
|
||||
new KeyBinding(new[] { Key.LControl, Key.D }, GlobalAction.ToggleDirect),
|
||||
};
|
||||
|
||||
protected override IEnumerable<Drawable> GetKeyboardInputQueue() => new[] { handler }.Concat(base.GetKeyboardInputQueue());
|
||||
protected override IEnumerable<Drawable> GetKeyboardInputQueue() =>
|
||||
handler == null ? base.GetKeyboardInputQueue() : new[] { handler }.Concat(base.GetKeyboardInputQueue());
|
||||
}
|
||||
|
||||
public enum GlobalAction
|
||||
|
Loading…
Reference in New Issue
Block a user