From d734ae24a5dce6b17cca7c7e401918f899b91039 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 4 May 2024 15:08:21 +0300 Subject: [PATCH] Allow negative values in shading as requested in #1015 --- src/Tools/DesignTools/Shading.tscn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tools/DesignTools/Shading.tscn b/src/Tools/DesignTools/Shading.tscn index 4b87b3a48..21fd4c309 100644 --- a/src/Tools/DesignTools/Shading.tscn +++ b/src/Tools/DesignTools/Shading.tscn @@ -44,6 +44,7 @@ popup/item_1/id = 1 [node name="AmountSlider" parent="." index="7" instance=ExtResource("3")] layout_mode = 2 tooltip_text = "Lighten/Darken amount" +min_value = -100.0 value = 10.0 prefix = "Amount:" @@ -53,17 +54,20 @@ layout_mode = 2 [node name="HueSlider" parent="HueShiftingOptions" index="0" instance=ExtResource("3")] layout_mode = 2 +min_value = -180.0 max_value = 180.0 value = 10.0 prefix = "Hue:" [node name="SatSlider" parent="HueShiftingOptions" index="1" instance=ExtResource("3")] layout_mode = 2 +min_value = -100.0 value = 10.0 prefix = "Saturation:" [node name="ValueSlider" parent="HueShiftingOptions" index="2" instance=ExtResource("3")] layout_mode = 2 +min_value = -100.0 value = 10.0 prefix = "Value:"