mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 09:00:05 +00:00
I am the one who knocks
This commit is contained in:
@@ -53,10 +53,7 @@ export class LinkConnectorAdapter {
|
||||
const output = node?.outputs?.[outputIndex]
|
||||
if (!node || !output) return
|
||||
|
||||
const fromReroute =
|
||||
opts?.fromRerouteId != null
|
||||
? this.network.getReroute(opts.fromRerouteId)
|
||||
: undefined
|
||||
const fromReroute = this.network.getReroute(opts?.fromRerouteId)
|
||||
|
||||
if (opts?.moveExisting) {
|
||||
this.linkConnector.moveOutputLink(this.network, output)
|
||||
@@ -85,10 +82,7 @@ export class LinkConnectorAdapter {
|
||||
const input = node?.inputs?.[inputIndex]
|
||||
if (!node || !input) return
|
||||
|
||||
const fromReroute =
|
||||
opts?.fromRerouteId != null
|
||||
? this.network.getReroute(opts.fromRerouteId)
|
||||
: undefined
|
||||
const fromReroute = this.network.getReroute(opts?.fromRerouteId)
|
||||
|
||||
if (opts?.moveExisting) {
|
||||
this.linkConnector.moveInputLink(this.network, input)
|
||||
|
||||
Reference in New Issue
Block a user