From 1b8652e86a383747cc2d8ec803b4dcd49cb7469d Mon Sep 17 00:00:00 2001 From: Guh-Feng <58538080+Guh-Feng@users.noreply.github.com> Date: Thu, 30 Jun 2022 23:43:46 -0400 Subject: Color Pickers Respect Settings Updated editor_node with function that sets up color pickers throughout Godot to respect editor's settings. --- editor/plugins/gradient_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/plugins/gradient_editor_plugin.cpp') 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; } -- cgit v1.2.3