mirror of https://github.com/mpv-player/mpv
b726f1eb90
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. |
||
---|---|---|
.. | ||
events_view.h | ||
events_view.m | ||
mpvadapter.h | ||
video_view.h | ||
video_view.m | ||
window.h | ||
window.m |