mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Add snap step to the zoom and rotation canvas sliders
This commit is contained in:
parent
d734ae24a5
commit
645e09701e
|
@ -69,6 +69,7 @@ stretch_margin_right = 3
|
||||||
stretch_margin_bottom = 3
|
stretch_margin_bottom = 3
|
||||||
script = ExtResource("1")
|
script = ExtResource("1")
|
||||||
suffix = "°"
|
suffix = "°"
|
||||||
|
snap_step = 45.0
|
||||||
|
|
||||||
[node name="ZoomSlider" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/TopLabels"]
|
[node name="ZoomSlider" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/TopLabels"]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
@ -89,6 +90,7 @@ stretch_margin_right = 3
|
||||||
stretch_margin_bottom = 3
|
stretch_margin_bottom = 3
|
||||||
script = ExtResource("1")
|
script = ExtResource("1")
|
||||||
suffix = "%"
|
suffix = "%"
|
||||||
|
snap_step = 100.0
|
||||||
|
|
||||||
[node name="CursorPosition" type="Label" parent="MarginContainer/HBoxContainer/TopLabels"]
|
[node name="CursorPosition" type="Label" parent="MarginContainer/HBoxContainer/TopLabels"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
Loading…
Reference in a new issue