diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-18 18:12:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-18 18:16:48 +0300 |
commit | 72703332ff42a70d19050d78a63286b9a9b6f930 (patch) | |
tree | 96b853c23eb5cb067a3d7e182a96874f47982715 /vcl | |
parent | .mk files should not be executable (diff) | |
download | core-72703332ff42a70d19050d78a63286b9a9b6f930.tar.gz core-72703332ff42a70d19050d78a63286b9a9b6f930.zip |
fdo#63547: Fix wheel/trackpad scrolling on OS X: Single char copy/paste error
Change-Id: I06faa28c25e976d0c9e072858cbe37093a61d38d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/window/salframeview.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm index 2a35a4b32551..a0715d5eeeef 100644 --- a/vcl/aqua/source/window/salframeview.mm +++ b/vcl/aqua/source/window/salframeview.mm @@ -847,7 +847,7 @@ private: if( aEvent.mnDelta == 0 ) aEvent.mnDelta = aEvent.mnNotchDelta; aEvent.mbHorz = TRUE; - aEvent.mnScrollLines = dY > 0 ? dX/WHEEL_EVENT_FACTOR : -dX/WHEEL_EVENT_FACTOR; + aEvent.mnScrollLines = dX > 0 ? dX/WHEEL_EVENT_FACTOR : -dX/WHEEL_EVENT_FACTOR; if( aEvent.mnScrollLines == 0 ) aEvent.mnScrollLines = 1; |