Fix size of the default property popup after opening a Color property

This commit is contained in:
Yuri Roubinsky 2021-12-26 21:58:33 +03:00
parent 28174d531b
commit 8367cb9fef

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