online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/account/Restrict.gd')
| -rw-r--r-- | ui/menus/account/Restrict.gd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/menus/account/Restrict.gd b/ui/menus/account/Restrict.gd new file mode 100644 index 0000000..5786d80 --- /dev/null +++ b/ui/menus/account/Restrict.gd @@ -0,0 +1,8 @@ +extends LineEdit +class_name Restrict + + +func _on_text_changed(new_text: String): + var pos = caret_position + text = new_text.strip_edges() + caret_position = pos |