diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index abe1bcf9e5a..7891c6f440f 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));