Improved UI event system
This commit is contained in:
@ -23,6 +23,6 @@ func on_focus_exited():
|
||||
tween.tween_property(self, "modulate", Color(1, 1, 1, 0), 0.2)
|
||||
|
||||
func on_text_submitted(message: String):
|
||||
(owner as UI).chat_message_submitted.emit(message)
|
||||
text = ""
|
||||
release_focus()
|
||||
(owner as Chat).message_submitted.emit(message)
|
||||
|
Reference in New Issue
Block a user