Merge pull request #1121 from danzel/master

mousemove events need to propagate through path layers
This commit is contained in:
Vladimir Agafonkin 2012-11-05 13:30:21 -08:00
commit 3ae809e7c9

View File

@ -134,7 +134,9 @@ L.Path = L.Path.extend({
if (e.type === 'contextmenu') {
L.DomEvent.preventDefault(e);
}
L.DomEvent.stopPropagation(e);
if (e.type !== 'mousemove') {
L.DomEvent.stopPropagation(e);
}
}
});