Working on fixing a bug with browser
This commit is contained in:
@@ -67,6 +67,9 @@ func _add_message(sender: String, message: String, type: String = "normal"):
|
||||
func focus_input():
|
||||
chat_input.grab_focus()
|
||||
|
||||
func is_typing() -> bool:
|
||||
return chat_input != null and chat_input.has_focus()
|
||||
|
||||
func _on_message_submitted(text: String):
|
||||
if text.strip_edges().is_empty():
|
||||
_close()
|
||||
|
||||
Reference in New Issue
Block a user