Skip to content

Commit

Permalink
fix iOS pinch-zoom regression and update build
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Aug 7, 2012
1 parent 7dedc0c commit 2109713
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/map/anim/Map.ZoomAnimation.js
Expand Up @@ -26,8 +26,6 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
.fire('movestart')
.fire('zoomstart');

this._animatingZoom = true;

this.fire('zoomanim', {
center: center,
zoom: zoom
Expand All @@ -50,6 +48,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
_runAnimation: function (center, zoom, scale, origin, backwardsTransform) {
this._animateToCenter = center;
this._animateToZoom = zoom;
this._animatingZoom = true;

var transform = L.DomUtil.TRANSFORM,
tileBg = this._tileBg;
Expand Down

0 comments on commit 2109713

Please sign in to comment.