fix path canvas race condition, close #1615
This commit is contained in:
parent
ddabd1b445
commit
f139eea41a
@ -136,7 +136,7 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onMouseMove: function (e) {
|
_onMouseMove: function (e) {
|
||||||
if (this._map._animatingZoom) { return; }
|
if (!this._map || this._map._animatingZoom) { return; }
|
||||||
|
|
||||||
// TODO don't do on each move
|
// TODO don't do on each move
|
||||||
if (this._containsPoint(e.layerPoint)) {
|
if (this._containsPoint(e.layerPoint)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user