fix: restore setNodeLocatorResolver call dropped during rebase

The call to setNodeLocatorResolver was lost when resolving merge
conflicts during rebase onto main. Re-adds it in the bootstrap
sequence before comfyApp.setup().
This commit is contained in:
bymyself
2026-03-12 08:55:29 -07:00
parent 695ec64752
commit c57d4f5da8

View File

@@ -511,6 +511,8 @@ onMounted(async () => {
)
}
setNodeLocatorResolver(workflowStore.nodeToNodeLocatorId)
// @ts-expect-error fixme ts strict error
await comfyApp.setup(canvasRef.value)
canvasStore.canvas = comfyApp.canvas
@@ -527,7 +529,6 @@ onMounted(async () => {
workspaceStore.spinner = false
}
comfyApp.canvas.onSelectionChange = useChainCallback(
comfyApp.canvas.onSelectionChange,
() => canvasStore.updateSelectedItems()