Skip to content

Commit

Permalink
fix: πŸ› remove deprecated MouseWheelEvent and use WheelEvent
Browse files Browse the repository at this point in the history
βœ… Closes: GLOB-13813
  • Loading branch information
Dusan Gajic committed Jun 21, 2024
1 parent e26c912 commit dd5da24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/zoom/zoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd5da24

Please sign in to comment.