Allow toggling focus via binding

This commit is contained in:
Dean Herbert
2021-08-19 14:19:59 +09:00
parent 786beb9759
commit 6d00ea3375
4 changed files with 32 additions and 7 deletions

View File

@ -90,7 +90,7 @@ namespace osu.Game.Input.Bindings
new KeyBinding(InputKey.Left, GlobalAction.SeekReplayBackward),
new KeyBinding(InputKey.Right, GlobalAction.SeekReplayForward),
new KeyBinding(InputKey.Control, GlobalAction.HoldForHUD),
new KeyBinding(InputKey.Tab, GlobalAction.FocusChatInput),
new KeyBinding(InputKey.Tab, GlobalAction.ToggleChatFocus),
};
public IEnumerable<KeyBinding> SongSelectKeyBindings => new[]
@ -282,7 +282,7 @@ namespace osu.Game.Input.Bindings
[Description("Seek replay backward")]
SeekReplayBackward,
[Description("Focus chat")]
FocusChatInput
[Description("Toggle chat focus")]
ToggleChatFocus
}
}