Fix visual shader editor popups not using editor scale.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-10 10:17:17 +03:00
parent c374ce211c
commit 9870c8ca68
No known key found for this signature in database
GPG key ID: 8413210218EF35D2

View file

@ -3315,7 +3315,7 @@ void VisualShaderEditor::_edit_port_default_input(Object *p_button, int p_node,
popup_pref_size.width = 180;
break;
}
property_editor_popup->set_min_size(popup_pref_size);
property_editor_popup->set_min_size(popup_pref_size * EDSCALE);
property_editor->set_object_and_property(edited_property_holder.ptr(), "edited_property");
property_editor->update_property();