mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
Manage searchbox imp setting in Vue app (#282)
* Manage searchbox setting in vue * nit
This commit is contained in:
@@ -425,14 +425,7 @@ export class ComfyUI {
|
||||
name: 'Node Search box implementation',
|
||||
type: 'combo',
|
||||
options: ['default', 'litegraph (legacy)'],
|
||||
defaultValue: 'default',
|
||||
onChange: (value?: string) => {
|
||||
if (!app.canvas) return
|
||||
|
||||
value = value || 'default'
|
||||
const useLitegraphSearch = value === 'litegraph (legacy)'
|
||||
app.canvas.allow_searchbox = useLitegraphSearch
|
||||
}
|
||||
defaultValue: 'default'
|
||||
})
|
||||
|
||||
const fileInput = $el('input', {
|
||||
|
||||
Reference in New Issue
Block a user