Fix cannot shift-drag new link from first link segment (#836)

Fixes issue where new links can only be shift-click dragged from the
link line on link segments *after* a native reroute.
This commit is contained in:
filtered
2025-03-24 02:13:06 +11:00
committed by GitHub
parent 642e73773c
commit ff6281c840

View File

@@ -294,8 +294,6 @@ export class LinkConnector {
if (!slot) return
const reroute = network.getReroute(linkSegment.parentId)
if (!reroute) return
const renderLink = new ToInputRenderLink(network, node, slot, reroute)
renderLink.fromDirection = LinkDirection.NONE
this.renderLinks.push(renderLink)