From 9870c8ca684168ec8161e039e2a9d8644dba42d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:17:17 +0300 Subject: [PATCH] Fix visual shader editor popups not using editor scale. --- editor/plugins/visual_shader_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index aa7de570fc..9a5bff4d51 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -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();