mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-21 14:59:39 +00:00
Fix pin not respected by multi-select move (#284)
This commit is contained in:
@@ -2444,7 +2444,7 @@ export class LGraphCanvas {
|
||||
this.#dirty()
|
||||
|
||||
function addToSetRecursively(item: Positionable, items: Set<Positionable>): void {
|
||||
if (items.has(item)) return
|
||||
if (items.has(item) || item.pinned) return
|
||||
items.add(item)
|
||||
item.children?.forEach(x => addToSetRecursively(x, items))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user