Add setting to disable double click node title edit (#668)

This commit is contained in:
Chenlei Hu
2024-08-28 13:58:33 -04:00
committed by GitHub
parent 493805d0ee
commit 4e8acf6c77
3 changed files with 16 additions and 1 deletions

View File

@@ -252,6 +252,13 @@ export const useSettingStore = defineStore('setting', {
max: 100
}
})
app.ui.settings.addSetting({
id: 'Comfy.Node.DoubleClickTitleToEdit',
name: 'Double click node title to edit',
type: 'boolean',
defaultValue: true
})
},
set<K extends keyof Settings>(key: K, value: Settings[K]) {