leaflet-doubletapdragzoom
Advanced tools
Comparing version 0.3.0 to 0.3.1
# Leaflet.DoubleTapDragZoom Changelog | ||
## 0.3.1 (2024-01-06) | ||
- Fix freezing map for non correct gesture (#13) | ||
## 0.3.0 (2021-11-07) | ||
@@ -7,2 +11,6 @@ | ||
## 0.3.0 (2021-11-07) | ||
- Fix touch event being propagated when zooming | ||
## 0.2.0 (2018-10-29) | ||
@@ -9,0 +17,0 @@ |
@@ -83,2 +83,4 @@ L.Map.mergeOptions({ | ||
_onDoubleTapDragEnd: function (e) { | ||
this._doubleTapDragging = false; | ||
if (!this._center) { return; } | ||
@@ -95,3 +97,2 @@ L.Util.cancelAnimFrame(this._animRequest); | ||
this._center = null; | ||
this._doubleTapDragging = false; | ||
}, | ||
@@ -98,0 +99,0 @@ |
{ | ||
"name": "leaflet-doubletapdragzoom", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Leaflet plugin that implements double-tap-and-drag zoom feature for zooming in / out with one hand", | ||
@@ -5,0 +5,0 @@ "main": "Leaflet.DoubleTapDragZoom.js", |
9080