type
This commit is contained in:
@@ -168,8 +168,8 @@ export function XYPanZoom({
|
|||||||
d3ZoomInstance.filter(filter);
|
d3ZoomInstance.filter(filter);
|
||||||
|
|
||||||
// We cannot add zoomOnDoubleClick to the filter above because
|
// We cannot add zoomOnDoubleClick to the filter above because
|
||||||
// if double tapping on touch screens circumvents the filter and
|
// double tapping on touch screens circumvents the filter and
|
||||||
// dblclick.zoom is triggered on the selection directly
|
// dblclick.zoom is fired on the selection directly
|
||||||
if (zoomOnDoubleClick) {
|
if (zoomOnDoubleClick) {
|
||||||
d3Selection.on('dblclick.zoom', d3DblClickZoomHandler);
|
d3Selection.on('dblclick.zoom', d3DblClickZoomHandler);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user