[Cleanup] Remove redundant reroute opt-in setting (#2972)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
filtered
2025-03-11 23:25:16 +11:00
committed by GitHub
parent 710bc2bb2e
commit 03bf81cc1b
4 changed files with 8 additions and 15 deletions

View File

@@ -332,7 +332,9 @@ export const useWorkflowService = () => {
skip_events: true,
skip_render: true
})
canvas.reroutesEnabled = app.canvas.reroutesEnabled
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore Temporary fix for Litegraph issue.
canvas.reroutesEnabled = true
canvas.selectItems()
canvas.copyToClipboard()
app.canvas.pasteFromClipboard(options)