From 85a6fb75b865458c205bb69673554d7d5763708e Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Tue, 27 May 2025 07:27:45 +1000 Subject: [PATCH] Add workaround for delay in link connection (#1873) New input sockets have no pos, and require a render frame to occur before links can be set to the correct location. --- js/node_fixer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/node_fixer.js b/js/node_fixer.js index feec1cad..867a7b81 100644 --- a/js/node_fixer.js +++ b/js/node_fixer.js @@ -153,6 +153,7 @@ app.registerExtension({ app.canvas.graph.add(new_node, false); node_info_copy(this, new_node, true); app.canvas.graph.remove(this); + requestAnimationFrame(() => app.canvas.setDirty(true, true)) }, }); });