diff --git a/src/app/cartography/tools/moving-tool.ts b/src/app/cartography/tools/moving-tool.ts index 63b544d9..6590fe85 100644 --- a/src/app/cartography/tools/moving-tool.ts +++ b/src/app/cartography/tools/moving-tool.ts @@ -57,6 +57,12 @@ export class MovingTool { }); }; + // disable zooming on wheel + this.zoom.filter(() => { + const e: D3ZoomEvent = event; + return e.type === 'mousedown'; + }); + this.zoom.on('zoom', onZoom); selection.call(this.zoom); }