Clear chat input when focus is released with Esc (#12823)

This commit is contained in:
jicksaw
2022-12-03 03:15:59 +02:00
committed by GitHub
parent 67cfc2e81d
commit 5fedbf329f

View File

@@ -168,6 +168,7 @@ public partial class ChatBox : UIWidget
if (args.Function == EngineKeyFunctions.TextReleaseFocus)
{
ChatInput.Input.ReleaseKeyboardFocus();
ChatInput.Input.Clear();
args.Handle();
return;
}