Merge pull request #56259 from Chaosus/fix_property_editor_resize

This commit is contained in:
Rémi Verschelde 2022-01-03 13:08:00 +01:00 committed by GitHub
commit 6a8a66d88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));