1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Add snap step to the zoom and rotation canvas sliders

This commit is contained in:
Emmanouil Papadeas 2024-05-05 18:13:50 +03:00
parent d734ae24a5
commit 645e09701e

View file

@ -69,6 +69,7 @@ stretch_margin_right = 3
stretch_margin_bottom = 3
script = ExtResource("1")
suffix = "°"
snap_step = 45.0
[node name="ZoomSlider" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/TopLabels"]
unique_name_in_owner = true
@ -89,6 +90,7 @@ stretch_margin_right = 3
stretch_margin_bottom = 3
script = ExtResource("1")
suffix = "%"
snap_step = 100.0
[node name="CursorPosition" type="Label" parent="MarginContainer/HBoxContainer/TopLabels"]
layout_mode = 2