Clear chat input when focus is released with Esc (#12823)
This commit is contained in:
@@ -168,6 +168,7 @@ public partial class ChatBox : UIWidget
|
||||
if (args.Function == EngineKeyFunctions.TextReleaseFocus)
|
||||
{
|
||||
ChatInput.Input.ReleaseKeyboardFocus();
|
||||
ChatInput.Input.Clear();
|
||||
args.Handle();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user