Merge pull request #2269 from danzel/fix-2255-hurray
A transitionEnd event only finishes a zoom animation if it is for a transform
This commit is contained in:
commit
1974ae7003
@ -24,8 +24,8 @@ if (L.DomUtil.TRANSITION) {
|
||||
|
||||
L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
||||
|
||||
_catchTransitionEnd: function () {
|
||||
if (this._animatingZoom) {
|
||||
_catchTransitionEnd: function (e) {
|
||||
if (this._animatingZoom && e.propertyName.indexOf('transform') >= 0) {
|
||||
this._onZoomTransitionEnd();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user