summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-18 18:12:09 +0300
committerFridrich Strba <fridrich@documentfoundation.org>2013-06-25 06:07:55 +0000
commit67d28a26bc43fcf7e7455c006684d4282be5d560 (patch)
treeb654f95a95162eb8f17446ad0ee29b8647b525a4
parent8a6df1a62ded3b6da47022a5b7eec2ba6e81112c (diff)
fdo#63547: Fix wheel/trackpad scrolling on OS X: Single char copy/paste error
Change-Id: I06faa28c25e976d0c9e072858cbe37093a61d38d (cherry picked from commit 72703332ff42a70d19050d78a63286b9a9b6f930) Reviewed-on: https://gerrit.libreoffice.org/4499 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--vcl/aqua/source/window/salframeview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 5567260d5b51..6a53201fe3ec 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -840,7 +840,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;