Skip to content
Snippets Groups Projects
Commit de9919ac authored by Kevin Lee's avatar Kevin Lee
Browse files

add back in preventDefault in case of scrolling while holding alt key

parent 2d441669
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,8 @@ export default class MouseEventsHandler {
this.superHand.el.emit("horizontal_scroll_release");
this.lastHorizontalScrollTime = Date.now();
}
if (e.altKey) e.preventDefault(); //prevent forward/back on firefox
}
getScrollMod(delta, deltaMode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment