Skip to content

Commit 552a5d7

Browse files
feat: handle inserting a block to replace a reporter (#196)
1 parent 0be7c43 commit 552a5d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/navigation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,8 @@ export class Navigation {
752752
movingBlock,
753753
stationaryBlock.previousConnection,
754754
);
755+
} else if (stationaryBlock.outputConnection) {
756+
return this.insertBlock(movingBlock, stationaryBlock.outputConnection);
755757
}
756758
}
757759
this.warn('Unexpected state in tryToConnectNodes.');

0 commit comments

Comments
 (0)