mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #105226 from bruvzg/vs_popup
Fix visual shader editor popups not using editor scale.
This commit is contained in:
commit
c85e12223d
1 changed files with 1 additions and 1 deletions
|
|
@ -3315,7 +3315,7 @@ void VisualShaderEditor::_edit_port_default_input(Object *p_button, int p_node,
|
||||||
popup_pref_size.width = 180;
|
popup_pref_size.width = 180;
|
||||||
break;
|
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->set_object_and_property(edited_property_holder.ptr(), "edited_property");
|
||||||
property_editor->update_property();
|
property_editor->update_property();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue