Skip to content
Snippets Groups Projects
Commit d8933b4b authored by johnshaughnessy's avatar johnshaughnessy
Browse files

Capture deltaX of wheel events for shift+wheel on Mac

parent 5dc7d7a7
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ export class MouseDevice {
process(event) {
if (event.type === "wheel") {
this.wheel += event.deltaY / modeMod[event.deltaMode];
this.wheel += (event.deltaX + event.deltaY) / modeMod[event.deltaMode];
return;
}
if (event.type === "mouseout" || event.type === "blur") {
......
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