Fixes pinned group contents moving (#316)

This commit is contained in:
filtered
2024-11-19 05:17:24 +11:00
committed by GitHub
parent 1bec315427
commit 31c25b4ea1
2 changed files with 10 additions and 8 deletions

View File

@@ -2650,7 +2650,7 @@ export class LGraphCanvas {
const deltaX = delta[0] / this.ds.scale
const deltaY = delta[1] / this.ds.scale
for (const item of allItems) {
if (!item.pinned) item.move(deltaX, deltaY, true)
item.move(deltaX, deltaY, true)
}
this.#dirty()