diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 14:06:12 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 14:06:12 +0200 |
commit | cd8950953ad6c4361fbc140007ce9cc04fef1e6c (patch) | |
tree | 289a4b7f3b7a4e437fec175451c2ebe5d8a13135 | |
parent | 892094fa91f064e24d9017d84228f6c781add428 (diff) |
macOS: Mouse wheel horizontal direction
-rw-r--r-- | src/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |