From 28e143e03323ce82b7174f0579995f9da1fb081a Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:19:42 +0300 Subject: [PATCH] Make the color picker popup in GradientEdit moveable --- src/UI/Nodes/GradientEdit.tscn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UI/Nodes/GradientEdit.tscn b/src/UI/Nodes/GradientEdit.tscn index 1373646b1..c1bde37f0 100644 --- a/src/UI/Nodes/GradientEdit.tscn +++ b/src/UI/Nodes/GradientEdit.tscn @@ -26,6 +26,8 @@ offset_right = 20.0 offset_bottom = 7.0 [node name="Popup" type="PopupPanel" parent="."] +unresizable = false +borderless = false [node name="ColorPicker" type="ColorPicker" parent="Popup"] offset_left = 4.0 @@ -46,10 +48,9 @@ unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 mouse_default_cursor_shape = 2 -item_count = 3 selected = 0 +item_count = 3 popup/item_0/text = "Linear" -popup/item_0/id = 0 popup/item_1/text = "Constant" popup/item_1/id = 1 popup/item_2/text = "Cubic" @@ -68,10 +69,9 @@ unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 mouse_default_cursor_shape = 2 -item_count = 3 selected = 0 +item_count = 3 popup/item_0/text = "sRGB" -popup/item_0/id = 0 popup/item_1/text = "Linear sRGB" popup/item_1/id = 1 popup/item_2/text = "Oklab"