mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
Merge pull request #34107 from codecustard/fix-vseditor-add-node-pos
Fixes wrong position when adding node in VS editor
This commit is contained in:
commit
129a22cd90
@ -3464,6 +3464,7 @@ void VisualScriptEditor::_selected_connect_node(const String &p_text, const Stri
|
||||
ofs = ofs.snapped(Vector2(snap, snap));
|
||||
}
|
||||
ofs /= EDSCALE;
|
||||
ofs /= graph->get_zoom();
|
||||
|
||||
Set<int> vn;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user