Skip to content

Commit 9dbd70d

Browse files
authored
Merge pull request #26 from DrJKL/patch-1
fix: Subgraph Input/Output slot fix
2 parents 2bbfdb6 + a7e44bf commit 9dbd70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/QuickConnection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class QuickConnection {
236236
const connecting = isInput ? input : output;
237237
const connectionSlot = slot;
238238

239-
const pos = node.getConnectionPos(isInput, connectionSlot, slotPos);
239+
const pos = node.getConnectionPos?.(isInput, connectionSlot, slotPos) ?? node.pos;
240240

241241
if (!this.acceptingNodes) {
242242
this.acceptingNodes = this.findAcceptingNodes(

0 commit comments

Comments
 (0)