mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user