A transitionEnd event only finished a zoom animation if it is for a transform. Fixes #2255
This commit is contained in:
parent
c287eccef3
commit
46a379adb7
@ -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