diff --git a/editor/shader/visual_shader_editor_plugin.cpp b/editor/shader/visual_shader_editor_plugin.cpp index e7e684e7630..fd049870fd0 100644 --- a/editor/shader/visual_shader_editor_plugin.cpp +++ b/editor/shader/visual_shader_editor_plugin.cpp @@ -3847,6 +3847,7 @@ void VisualShaderEditor::_add_node(int p_idx, const Vector &p_ops, cons position /= EDSCALE; } position /= graph->get_zoom(); + position /= cached_theme_base_scale; saved_node_pos_dirty = false; int id_to_use = visual_shader->get_valid_node_id(type);