Added pause and mute.
Improved fonts and font scaling Added level editor
This commit is contained in:
13
AllCapsEntry.gd
Normal file
13
AllCapsEntry.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
extends LineEdit
|
||||
|
||||
func _ready() -> void:
|
||||
text_changed.connect(_on_text_changed)
|
||||
text_submitted.connect(_on_text_submitted)
|
||||
|
||||
func _on_text_changed(new_text : String) -> void:
|
||||
var caret_pos = caret_column
|
||||
text = new_text.to_upper().replace(" ", "")
|
||||
caret_column = caret_pos
|
||||
|
||||
func _on_text_submitted(new_text : String) -> void:
|
||||
release_focus()
|
||||
Reference in New Issue
Block a user