mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 17:52:16 +00:00
Update litegraph (Global snap to grid setting) (#1629)
This commit is contained in:
@@ -182,10 +182,7 @@ watchEffect(() => {
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
const alwaysSnapToGrid = settingStore.get('pysssss.SnapToGrid')
|
||||
if (comfyApp.graph?.config) {
|
||||
comfyApp.graph.config.alwaysSnapToGrid = alwaysSnapToGrid
|
||||
}
|
||||
LiteGraph.alwaysSnapToGrid = settingStore.get('pysssss.SnapToGrid')
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user