fix: pasting nodes

This commit is contained in:
2026-05-07 17:39:58 +02:00
parent 4aff3874d3
commit 9a7a7166b7
4 changed files with 37 additions and 30 deletions
@@ -228,7 +228,7 @@
style:transform={`scale(${graphState.cameraPosition[2] * 0.1})`}
class:hovering-sockets={graphState.activeSocket}
>
{#each graph.nodeArray as node, index (node.id)}
{#each graph.nodeArray as node, index (node)}
<NodeEl
bind:node={graph.nodeArray[index]}
inView={node ? graphState.isNodeInView(node) : false}