feat: selection tracking

This commit is contained in:
Sara Gerretsen 2025-12-12 22:28:04 +01:00
parent 4aa1075fb6
commit cb43179770
15 changed files with 217 additions and 20 deletions

View file

@ -0,0 +1,21 @@
[gd_scene format=3 uid="uid://cwby0in0f2wi2"]
[node name="FloatEditor" type="HBoxContainer" unique_id=1730998858]
offset_right = 318.0
offset_bottom = 31.0
[node name="HSlider" type="HSlider" parent="." unique_id=163542019]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
max_value = 300.0
step = 0.01
value = 200.0
[node name="SpinBox" type="SpinBox" parent="." unique_id=580598896]
layout_mode = 2
min_value = -10000.0
max_value = 100000.0
step = 0.01
value = 10.0
allow_greater = true

View file

@ -0,0 +1,23 @@
[gd_scene format=3 uid="uid://bsvvhue5x4rb"]
[ext_resource type="PackedScene" uid="uid://cwby0in0f2wi2" path="res://ui/editor_elements/float_editor.tscn" id="1_qb00w"]
[node name="PointPrimitive" type="MarginContainer" unique_id=905749607]
offset_right = 302.0
offset_bottom = 230.0
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
metadata/_tab_index = 0
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=236606520]
layout_mode = 2
[node name="HeightLabel" type="Label" parent="VBoxContainer" unique_id=1478707845]
layout_mode = 2
size_flags_horizontal = 3
text = "Height"
[node name="FloatEditor" parent="VBoxContainer" unique_id=1730998858 instance=ExtResource("1_qb00w")]
layout_mode = 2