summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-03 13:08:00 +0100
committerGitHub <noreply@github.com>2022-01-03 13:08:00 +0100
commit6a8a66d88a81c61fc852e5233b3b63d4d934be6e (patch)
treeea66f55d65cec658d6e3915ec07dc920755cdf2b
parentcd38b4298763a4467a639dfa637139e6dda31329 (diff)
parent8367cb9feff28445752bb9c118df52884d83aed2 (diff)
Merge pull request #56259 from Chaosus/fix_property_editor_resize
-rw-r--r--editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index abe1bcf9e5..7891c6f440 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -810,7 +810,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
//late init for performance
color_picker = memnew(ColorPicker);
color_picker->set_deferred_mode(true);
- add_child(color_picker);
+ value_vbox->add_child(color_picker);
color_picker->hide();
color_picker->connect("color_changed", callable_mp(this, &CustomPropertyEditor::_color_changed));