parent
0fc5c69b3f
commit
11fcd09a99
@ -52,6 +52,10 @@ function bindMouseWheelHandler(element, i) {
|
||||
deltaY = e.wheelDelta;
|
||||
}
|
||||
|
||||
if (e.shiftKey) {
|
||||
// reverse axis with shift key
|
||||
return [-deltaY, -deltaX];
|
||||
}
|
||||
return [deltaX, deltaY];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user