mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
[Refactor] Replace deprecated getConnectionPos (#776)
Uses `getInputPos` or `getOutputPos` where appropriate.
This commit is contained in:
@@ -27,6 +27,6 @@ export class ToInputRenderLink implements RenderLink {
|
||||
this.fromSlotIndex = outputIndex
|
||||
this.fromPos = fromReroute
|
||||
? fromReroute.pos
|
||||
: this.node.getConnectionPos(false, outputIndex)
|
||||
: this.node.getOutputPos(outputIndex)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user