diff --git a/packages/system/src/xypanzoom/XYPanZoom.ts b/packages/system/src/xypanzoom/XYPanZoom.ts index 88ec5b59..a7e73a7c 100644 --- a/packages/system/src/xypanzoom/XYPanZoom.ts +++ b/packages/system/src/xypanzoom/XYPanZoom.ts @@ -168,8 +168,8 @@ export function XYPanZoom({ d3ZoomInstance.filter(filter); // We cannot add zoomOnDoubleClick to the filter above because - // if double tapping on touch screens circumvents the filter and - // dblclick.zoom is triggered on the selection directly + // double tapping on touch screens circumvents the filter and + // dblclick.zoom is fired on the selection directly if (zoomOnDoubleClick) { d3Selection.on('dblclick.zoom', d3DblClickZoomHandler); } else {