mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
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:
@@ -294,8 +294,6 @@ export class LinkConnector {
|
|||||||
if (!slot) return
|
if (!slot) return
|
||||||
|
|
||||||
const reroute = network.getReroute(linkSegment.parentId)
|
const reroute = network.getReroute(linkSegment.parentId)
|
||||||
if (!reroute) return
|
|
||||||
|
|
||||||
const renderLink = new ToInputRenderLink(network, node, slot, reroute)
|
const renderLink = new ToInputRenderLink(network, node, slot, reroute)
|
||||||
renderLink.fromDirection = LinkDirection.NONE
|
renderLink.fromDirection = LinkDirection.NONE
|
||||||
this.renderLinks.push(renderLink)
|
this.renderLinks.push(renderLink)
|
||||||
|
|||||||
Reference in New Issue
Block a user