remove the pan for the horizontal gesture

This commit is contained in:
Terry Jia
2025-09-12 15:40:27 -04:00
parent 551c698e7f
commit 660ea502ae

View File

@@ -3655,7 +3655,6 @@ export class LGraphCanvas
if (!isTrackpad && e.shiftKey && e.deltaX === 0) {
this.ds.offset[0] -= e.deltaY * (1 + factor) * (1 / scale)
} else {
this.ds.offset[0] -= e.deltaX * (1 + factor) * (1 / scale)
this.ds.offset[1] -= e.deltaY * (1 + factor) * (1 / scale)
}
}