From e5bee1b72a22a4c0b7c683cf44b32734f49841e8 Mon Sep 17 00:00:00 2001 From: Terry Jia Date: Sun, 7 Sep 2025 21:28:01 -0400 Subject: [PATCH] test --- src/lib/litegraph/src/CanvasPointer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/litegraph/src/CanvasPointer.ts b/src/lib/litegraph/src/CanvasPointer.ts index 26bf07c42..f01ff549f 100644 --- a/src/lib/litegraph/src/CanvasPointer.ts +++ b/src/lib/litegraph/src/CanvasPointer.ts @@ -447,7 +447,8 @@ export class CanvasPointer { !navigator.platform.includes('Mac') && event.deltaX === 0 ) { - // As tested in real world, on non-Mac, trackpad wheelDeltaY is usually very close to deltaY while two-finger panning vertically (except for some mouse models, for example Logitech M705, on Linux the wheelDeltaY and detaY are exactly the same when scrolling normally) + // As tested in real world, on non-Mac, trackpad wheelDeltaY is usually very close to deltaY while two-finger panning vertically + // (except for some mouse models, for example Logitech M705, on Linux the wheelDeltaY and detaY are exactly the same when scrolling normally) if (Math.abs(Math.abs(event.deltaY) - Math.abs(wheelDeltaY)) < 2) { return true }