mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-13 19:04:54 +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()
|