summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gradient_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-22 23:46:27 +0200
committerGitHub <noreply@github.com>2022-07-22 23:46:27 +0200
commite5df1e65f935ba2df73c9f53d930d4a9cec554fc (patch)
tree54ca25e53f4721db2a994c9a829e4b5ed1b5d1b3 /editor/plugins/gradient_editor_plugin.cpp
parent4f7bfacfcd65ab630f4e3f476d3f0ff12494a0b3 (diff)
parent1b8652e86a383747cc2d8ec803b4dcd49cb7469d (diff)
downloadredot-engine-e5df1e65f935ba2df73c9f53d930d4a9cec554fc.tar.gz
Merge pull request #62581 from Guh-Feng/Color-Picker-Update
Diffstat (limited to 'editor/plugins/gradient_editor_plugin.cpp')
-rw-r--r--editor/plugins/gradient_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/gradient_editor_plugin.cpp b/editor/plugins/gradient_editor_plugin.cpp
index 1386f03662..5c7047a81f 100644
--- a/editor/plugins/gradient_editor_plugin.cpp
+++ b/editor/plugins/gradient_editor_plugin.cpp
@@ -85,6 +85,7 @@ void GradientEditor::reverse_gradient() {
}
GradientEditor::GradientEditor() {
+ GradientEdit::get_popup()->connect("about_to_popup", callable_mp(EditorNode::get_singleton(), &EditorNode::setup_color_picker), varray(GradientEdit::get_picker()));
editing = false;
}