summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 14:06:12 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 14:06:12 +0200
commitcd8950953ad6c4361fbc140007ce9cc04fef1e6c (patch)
tree289a4b7f3b7a4e437fec175451c2ebe5d8a13135 /src/app.c
parent892094fa91f064e24d9017d84228f6c781add428 (diff)
macOS: Mouse wheel horizontal direction
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 6a3dc00b..b233b12d 100644
--- a/src/app.c
+++ b/src/app.c
@@ -929,6 +929,7 @@ void processEvents_App(enum iAppEventMode eventMode) {
929 } 929 }
930 else { 930 else {
931 /* Disregard wheel acceleration applied by the OS. */ 931 /* Disregard wheel acceleration applied by the OS. */
932 ev.wheel.x = -ev.wheel.x;
932 ev.wheel.y = iSign(ev.wheel.y); 933 ev.wheel.y = iSign(ev.wheel.y);
933 } 934 }
934#endif 935#endif