mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +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'
|
||||
)
|
||||
watch(nodeSearchEnabled, (newVal) => {
|
||||
comfyApp.canvas.allow_searchbox = !newVal
|
||||
if (comfyApp.canvas) comfyApp.canvas.allow_searchbox = !newVal
|
||||
})
|
||||
|
||||
let dropTargetCleanup = () => {}
|
||||
|
||||
Reference in New Issue
Block a user