mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-24 20:33:19 +01:00
12 lines
209 B
GDScript3
12 lines
209 B
GDScript3
|
extends WindowDialog
|
||
|
|
||
|
signal entered(text)
|
||
|
|
||
|
func _text_entered(text):
|
||
|
emit_signal("entered", text)
|
||
|
queue_free()
|
||
|
|
||
|
func _notification(what):
|
||
|
if what == Popup.NOTIFICATION_POST_POPUP:
|
||
|
$LineEdit.grab_focus()
|