mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Fix potential nullref
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user