diff options
author | Akemi <der.richter@gmx.de> | 2017-07-26 21:08:14 +0200 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-07-31 20:22:33 +0200 |
commit | b726f1eb9060bf9abbd83a06298c557e25557612 (patch) | |
tree | b04b6b8925e325652779fcb44ae82aee6a8f5541 /wscript_build.py | |
parent | 53188a14bf89e70b77139783230789330d8f571f (diff) |
cocoa: distinguish between horizontal and vertical scroll
we need to switch the x and y deltas when Shift is being held because
macOS switches them around. otherwise we would get a horizontal scroll
on a vertical one and vice versa.
additional we switch from deltaX/Y to scrollingDeltaX/Y since the Apple
docs suggest it's the preferred way now. in my tests both reported the
same values on imprecise scrolls though.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions