Update litegraph (link snap to slot & highlight) (#1378)

* Update litegraph (link snap)

* Add settings

* nit

* Add playwright test

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-10-30 15:23:58 -04:00
committed by GitHub
parent 3fb2d423ba
commit bf7a9bf5eb
8 changed files with 54 additions and 6 deletions

View File

@@ -85,6 +85,16 @@ watchEffect(() => {
}
})
watchEffect(() => {
LiteGraph.snaps_for_comfy = settingStore.get('Comfy.Node.AutoSnapLinkToSlot')
})
watchEffect(() => {
LiteGraph.snap_highlights_node = settingStore.get(
'Comfy.Node.SnapHighlightsNode'
)
})
watchEffect(() => {
nodeDefStore.showDeprecated = settingStore.get('Comfy.Node.ShowDeprecated')
})