From 4dc8ffe55ad545c88aed32eb7123b4d40943c5f1 Mon Sep 17 00:00:00 2001 From: Nicola Date: Mon, 11 May 2026 21:52:10 +0200 Subject: [PATCH] Added autoselect to all userinputs (numbers) for better UX --- Prefabs/DSL/CraftNode.tscn | 1 + Prefabs/DSL/ForNode.tscn | 1 + Prefabs/DSL/IfNode.tscn | 1 + Prefabs/DSL/MoveNode.tscn | 3 +++ Prefabs/DSL/WhileNode.tscn | 1 + 5 files changed, 7 insertions(+) diff --git a/Prefabs/DSL/CraftNode.tscn b/Prefabs/DSL/CraftNode.tscn index d298dac..ef6e6d3 100644 --- a/Prefabs/DSL/CraftNode.tscn +++ b/Prefabs/DSL/CraftNode.tscn @@ -69,6 +69,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "x" +select_all_on_focus = true [node name="ListDisplay" type="Button" parent="." unique_id=200731038] visible = false diff --git a/Prefabs/DSL/ForNode.tscn b/Prefabs/DSL/ForNode.tscn index a4c09b3..6287b9c 100644 --- a/Prefabs/DSL/ForNode.tscn +++ b/Prefabs/DSL/ForNode.tscn @@ -65,6 +65,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "x" +select_all_on_focus = true [node name="ListDisplay" type="Button" parent="." unique_id=200731038] visible = false diff --git a/Prefabs/DSL/IfNode.tscn b/Prefabs/DSL/IfNode.tscn index 7c31956..866bebd 100644 --- a/Prefabs/DSL/IfNode.tscn +++ b/Prefabs/DSL/IfNode.tscn @@ -86,6 +86,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "x" +select_all_on_focus = true [node name="ListDisplay" type="Button" parent="." unique_id=200731038] visible = false diff --git a/Prefabs/DSL/MoveNode.tscn b/Prefabs/DSL/MoveNode.tscn index 6fa2b9e..9f3f070 100644 --- a/Prefabs/DSL/MoveNode.tscn +++ b/Prefabs/DSL/MoveNode.tscn @@ -65,6 +65,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "X" +select_all_on_focus = true [node name="CoordinateY" type="SpinBox" parent="EditorDisplay/VBoxContainer/Values" unique_id=211509452] layout_mode = 2 @@ -72,6 +73,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "Y" +select_all_on_focus = true [node name="CoordinateZ" type="SpinBox" parent="EditorDisplay/VBoxContainer/Values" unique_id=832152386] layout_mode = 2 @@ -79,6 +81,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "Z" +select_all_on_focus = true [node name="ListDisplay" type="Button" parent="." unique_id=347942160] layout_mode = 2 diff --git a/Prefabs/DSL/WhileNode.tscn b/Prefabs/DSL/WhileNode.tscn index c333e1a..6816e53 100644 --- a/Prefabs/DSL/WhileNode.tscn +++ b/Prefabs/DSL/WhileNode.tscn @@ -86,6 +86,7 @@ size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "x" +select_all_on_focus = true [node name="ListDisplay" type="Button" parent="." unique_id=200731038] visible = false