feat: add names to dragons
This commit is contained in:
parent
f07b28d2dc
commit
ca4959af32
10 changed files with 91 additions and 15 deletions
11
scenes/dragon_editor/line_edit.gd
Normal file
11
scenes/dragon_editor/line_edit.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends LineEdit
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
connect("text_changed", _text_to_upper)
|
||||
|
||||
|
||||
func _text_to_upper(new_text: String):
|
||||
var last_caret_column = caret_column
|
||||
text = new_text.to_upper()
|
||||
caret_column = last_caret_column
|
Loading…
Add table
Add a link
Reference in a new issue