mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 03:30:04 +00:00
Bookmark nodes in node library (#612)
* Basic bookmark * Extract node leaf as component * bigger hitbox
This commit is contained in:
@@ -191,6 +191,15 @@ export const useSettingStore = defineStore('setting', {
|
||||
step: 0.01
|
||||
}
|
||||
})
|
||||
|
||||
// Bookmarks are stored in the settings store.
|
||||
// Bookmarks are in format of category/display_name. e.g. "conditioning/CLIPTextEncode"
|
||||
app.ui.settings.addSetting({
|
||||
id: 'Comfy.NodeLibrary.Bookmarks',
|
||||
name: 'Node library bookmarks',
|
||||
type: 'hidden',
|
||||
defaultValue: []
|
||||
})
|
||||
},
|
||||
|
||||
set<K extends keyof Settings>(key: K, value: Settings[K]) {
|
||||
|
||||
Reference in New Issue
Block a user