diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-12-26 21:58:33 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-12-26 22:10:33 +0300 |
commit | 8367cb9feff28445752bb9c118df52884d83aed2 (patch) | |
tree | 478d48caa6dd6f54a3bda8b4bda66e342d0306e9 /editor/property_editor.cpp | |
parent | 28174d531b7128f0281fc2b88da2f4962fd3513e (diff) | |
download | redot-engine-8367cb9feff28445752bb9c118df52884d83aed2.tar.gz |
Fix size of the default property popup after opening a Color property
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r-- | editor/property_editor.cpp | 2 |
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)); |