From 645e09701e19ebf3cc572839c5ad798e3d58dbad Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 5 May 2024 18:13:50 +0300 Subject: [PATCH] Add snap step to the zoom and rotation canvas sliders --- src/UI/TopMenuContainer/TopMenuContainer.tscn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/UI/TopMenuContainer/TopMenuContainer.tscn b/src/UI/TopMenuContainer/TopMenuContainer.tscn index 65ac152d1..0815a1a56 100644 --- a/src/UI/TopMenuContainer/TopMenuContainer.tscn +++ b/src/UI/TopMenuContainer/TopMenuContainer.tscn @@ -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