Fix paste Value can empty a dictionary depending on right-click location

This commit is contained in:
ajreckof 2024-02-26 06:53:40 +01:00
parent 81f3d43cc1
commit a8173439ef
2 changed files with 2 additions and 0 deletions

View file

@ -3341,6 +3341,7 @@ void EditorPropertyResource::update_property() {
sub_inspector->set_use_folding(is_using_folding());
sub_inspector_vbox = memnew(VBoxContainer);
sub_inspector_vbox->set_mouse_filter(MOUSE_FILTER_STOP);
add_child(sub_inspector_vbox);
set_bottom_editor(sub_inspector_vbox);

View file

@ -863,6 +863,7 @@ void EditorPropertyDictionary::update_property() {
if (!container) {
container = memnew(MarginContainer);
container->set_theme_type_variation("MarginContainer4px");
container->set_mouse_filter(MOUSE_FILTER_STOP);
add_child(container);
set_bottom_editor(container);