Add setting to disable node preview in searchbox (#421)

This commit is contained in:
Chenlei Hu
2024-08-14 10:29:32 -04:00
committed by GitHub
parent 6993a56c2d
commit c6b6bdcb67
2 changed files with 15 additions and 1 deletions

View File

@@ -82,6 +82,14 @@ export const useSettingStore = defineStore('setting', {
defaultValue: LinkReleaseTriggerMode.ALWAYS
})
app.ui.settings.addSetting({
id: 'Comfy.NodeSearchBoxImpl.NodePreview',
name: 'Node Preview',
tooltip: 'Only applies to the default implementation',
type: 'boolean',
defaultValue: true
})
app.ui.settings.addSetting({
id: 'Comfy.SideBar.Location',
name: 'Sidebar location',