Skip to content

Commit 4530e3c

Browse files
committed
nit
1 parent fbcbbb8 commit 4530e3c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/LGraphCanvas.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,16 +2374,16 @@ export class LGraphCanvas {
23742374
for (const linkId of output.links) {
23752375
const link = graph._links.get(linkId)
23762376
const slot = link.target_slot
2377-
const linked_node = graph._nodes_by_id[link.target_id]
2378-
const input = linked_node.inputs[slot]
2379-
const pos = linked_node.getConnectionPos(true, slot)
2377+
const otherNode = graph._nodes_by_id[link.target_id]
2378+
const input = otherNode.inputs[slot]
2379+
const pos = otherNode.getConnectionPos(true, slot)
23802380

23812381
this.connecting_links.push({
2382-
node: linked_node,
2383-
slot: slot,
2384-
input: input,
2382+
node: otherNode,
2383+
slot,
2384+
input,
23852385
output: null,
2386-
pos: pos,
2386+
pos,
23872387
direction: node.horizontal !== true ? LinkDirection.RIGHT : LinkDirection.CENTER,
23882388
})
23892389
}

0 commit comments

Comments
 (0)