From 7f48d5871a6a71cdaef9de2ead20686d65edf52f Mon Sep 17 00:00:00 2001 From: RodZill4 Date: Sat, 14 Mar 2020 19:56:57 +0100 Subject: [PATCH] Added a solid background to the gradient editor's color picker --- material_maker/widgets/gradient_editor.tscn | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/material_maker/widgets/gradient_editor.tscn b/material_maker/widgets/gradient_editor.tscn index 81fda03..fae87e4 100644 --- a/material_maker/widgets/gradient_editor.tscn +++ b/material_maker/widgets/gradient_editor.tscn @@ -78,18 +78,16 @@ rect_min_size = Vector2( 112, 17 ) mouse_filter = 2 theme = SubResource( 5 ) -[node name="Popup" type="Popup" parent="Gradient"] -margin_left = 47.0 -margin_top = 33.0 -margin_right = 353.0 -margin_bottom = 475.0 +[node name="Popup" type="PopupPanel" parent="Gradient"] +visible = true +margin_right = 318.0 +margin_bottom = 470.0 [node name="ColorPicker" type="ColorPicker" parent="Gradient/Popup"] margin_left = 4.0 margin_top = 4.0 -margin_right = 4.0 -margin_bottom = 4.0 -rect_scale = Vector2( 0.75, 0.75 ) +margin_right = 314.0 +margin_bottom = 466.0 [node name="Interpolation" type="OptionButton" parent="."] margin_left = 0.418457