Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Dec 15, 2024
1 parent fbcbbb8 commit 4530e3c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/LGraphCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2374,16 +2374,16 @@ export class LGraphCanvas {
for (const linkId of output.links) {
const link = graph._links.get(linkId)
const slot = link.target_slot
const linked_node = graph._nodes_by_id[link.target_id]
const input = linked_node.inputs[slot]
const pos = linked_node.getConnectionPos(true, slot)
const otherNode = graph._nodes_by_id[link.target_id]
const input = otherNode.inputs[slot]
const pos = otherNode.getConnectionPos(true, slot)

this.connecting_links.push({
node: linked_node,
slot: slot,
input: input,
node: otherNode,
slot,
input,
output: null,
pos: pos,
pos,
direction: node.horizontal !== true ? LinkDirection.RIGHT : LinkDirection.CENTER,
})
}
Expand Down

0 comments on commit 4530e3c

Please sign in to comment.