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

Make the color picker popup in GradientEdit moveable

This commit is contained in:
Emmanouil Papadeas 2024-09-07 17:19:42 +03:00
parent f162f12fbf
commit 28e143e033

View file

@ -26,6 +26,8 @@ offset_right = 20.0
offset_bottom = 7.0 offset_bottom = 7.0
[node name="Popup" type="PopupPanel" parent="."] [node name="Popup" type="PopupPanel" parent="."]
unresizable = false
borderless = false
[node name="ColorPicker" type="ColorPicker" parent="Popup"] [node name="ColorPicker" type="ColorPicker" parent="Popup"]
offset_left = 4.0 offset_left = 4.0
@ -46,10 +48,9 @@ unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
item_count = 3
selected = 0 selected = 0
item_count = 3
popup/item_0/text = "Linear" popup/item_0/text = "Linear"
popup/item_0/id = 0
popup/item_1/text = "Constant" popup/item_1/text = "Constant"
popup/item_1/id = 1 popup/item_1/id = 1
popup/item_2/text = "Cubic" popup/item_2/text = "Cubic"
@ -68,10 +69,9 @@ unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
item_count = 3
selected = 0 selected = 0
item_count = 3
popup/item_0/text = "sRGB" popup/item_0/text = "sRGB"
popup/item_0/id = 0
popup/item_1/text = "Linear sRGB" popup/item_1/text = "Linear sRGB"
popup/item_1/id = 1 popup/item_1/id = 1
popup/item_2/text = "Oklab" popup/item_2/text = "Oklab"