Skip to content

Commit

Permalink
release: auto
Browse files Browse the repository at this point in the history
Merge branch 'vayu/a14fea' into 'master'

fix: 🐛 remove deprecated MouseWheelEvent and use WheelEvent

Closes GLOB-13813

See merge request rabix/cwl-svg!10
  • Loading branch information
Dusan Gajic committed Jul 2, 2024
2 parents e26c912 + dd5da24 commit 5377064
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 5377064

Please sign in to comment.