online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/chat/TextInput.gd')
| -rw-r--r-- | ui/chat/TextInput.gd | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/chat/TextInput.gd b/ui/chat/TextInput.gd deleted file mode 100644 index c3a8134..0000000 --- a/ui/chat/TextInput.gd +++ /dev/null @@ -1,18 +0,0 @@ -extends Control - -signal send(message) - -onready var textedit := $h/MC/text -onready var placeholder := $h/MC/placeholder - - -func _on_text_changed() -> void: - placeholder.visible = len(textedit.text) == 0 - - -func _on_text_send(msg: String) -> void: - emit_signal("send", msg) - - -func setup_emojis(_emojis: Dictionary) -> void: - $h/MC2/EmojiButton._setup(_emojis) |