Commit bb525187 authored by David Schnur's avatar David Schnur

Merge pull request #1020 from vird/patch-1

Avoid propagating mouse wheel events when they're first caught by the navigate plugin.
parents a2503c2e 5594e338
...@@ -135,6 +135,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L ...@@ -135,6 +135,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
} }
function onMouseWheel(e, delta) { function onMouseWheel(e, delta) {
e.preventDefault();
onZoomClick(e, delta < 0); onZoomClick(e, delta < 0);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment