Merge pull request #1121 from danzel/master
mousemove events need to propagate through path layers
This commit is contained in:
commit
3ae809e7c9
@ -134,7 +134,9 @@ L.Path = L.Path.extend({
|
|||||||
if (e.type === 'contextmenu') {
|
if (e.type === 'contextmenu') {
|
||||||
L.DomEvent.preventDefault(e);
|
L.DomEvent.preventDefault(e);
|
||||||
}
|
}
|
||||||
L.DomEvent.stopPropagation(e);
|
if (e.type !== 'mousemove') {
|
||||||
|
L.DomEvent.stopPropagation(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user