From dd5da24393416ac3a52bea3908e2c407229257fe Mon Sep 17 00:00:00 2001 From: Dusan Gajic Date: Fri, 21 Jun 2024 12:04:23 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20remove=20deprecated=20Mou?= =?UTF-8?q?seWheelEvent=20and=20use=20WheelEvent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: GLOB-13813 --- src/plugins/zoom/zoom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/zoom/zoom.ts b/src/plugins/zoom/zoom.ts index d90e809..7dfe331 100644 --- a/src/plugins/zoom/zoom.ts +++ b/src/plugins/zoom/zoom.ts @@ -18,7 +18,7 @@ export class ZoomPlugin extends PluginBase { return () => this.svg.removeEventListener("wheel", handler, true); } - onMouseWheel(event: MouseWheelEvent) { + onMouseWheel(event: WheelEvent) { const scale = this.workflow.scale; const scaleUpdate = scale - event.deltaY / 500;