react-zoom-pan-pinch 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1603,10 +1603,7 @@ var ZoomPanPinch = /** @class */ (function () {
1603
1603
  if (!isAllowed)
1604
1604
  return;
1605
1605
  var isDoubleTap = _this.lastTouch && +new Date() - _this.lastTouch < 200;
1606
- if (isDoubleTap && event.touches.length === 1) {
1607
- _this.onDoubleClick(event);
1608
- }
1609
- else {
1606
+ if (!isDoubleTap) {
1610
1607
  _this.lastTouch = +new Date();
1611
1608
  handleCancelAnimation(_this);
1612
1609
  var touches = event.touches;