mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-25 09:14:25 +00:00
* link release pops up searchbox by default (#348) * link release pops up searchbox by default * Update browser test * Fix tests * Update test expectations [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -44,9 +44,14 @@ const betaMenuEnabled = computed(
|
||||
const nodeSearchEnabled = computed<boolean>(
|
||||
() => settingStore.get('Comfy.NodeSearchBoxImpl') === 'default'
|
||||
)
|
||||
watch(nodeSearchEnabled, (newVal) => {
|
||||
if (comfyApp.canvas) comfyApp.canvas.allow_searchbox = !newVal
|
||||
})
|
||||
watch(
|
||||
nodeSearchEnabled,
|
||||
(newVal) => {
|
||||
LiteGraph.release_link_on_empty_shows_menu = !newVal
|
||||
if (comfyApp.canvas) comfyApp.canvas.allow_searchbox = !newVal
|
||||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
|
||||
let dropTargetCleanup = () => {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user