diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 3c9b0f83e..18ff315d4 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -3182,7 +3182,7 @@ export class LGraphCanvas implements CustomEventDispatcher LiteGraph.macTrackpadGestures && (!LiteGraph.macGesturesRequireMac || navigator.userAgent.includes("Mac")) ) { - if (e.ctrlKey && !Number.isInteger(e.deltaY)) { + if (e.ctrlKey) { scale *= 1 + e.deltaY * (1 - this.zoom_speed) * 0.18 this.ds.changeScale(scale, [e.clientX, e.clientY], false) } else {