mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Fix canvas not init issue (#283)
This commit is contained in:
@@ -33,7 +33,7 @@ const nodeSearchEnabled = computed<boolean>(
|
|||||||
() => settingStore.get('Comfy.NodeSearchBoxImpl') === 'default'
|
() => settingStore.get('Comfy.NodeSearchBoxImpl') === 'default'
|
||||||
)
|
)
|
||||||
watch(nodeSearchEnabled, (newVal) => {
|
watch(nodeSearchEnabled, (newVal) => {
|
||||||
comfyApp.canvas.allow_searchbox = !newVal
|
if (comfyApp.canvas) comfyApp.canvas.allow_searchbox = !newVal
|
||||||
})
|
})
|
||||||
|
|
||||||
let dropTargetCleanup = () => {}
|
let dropTargetCleanup = () => {}
|
||||||
|
|||||||
Reference in New Issue
Block a user