mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 17:37:46 +00:00
[Cleanup] Remove redundant reroute opt-in setting (#2972)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user