[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - vcl/aqua
Tor Lillqvist
tml at iki.fi
Mon Jun 24 23:08:15 PDT 2013
vcl/aqua/source/window/salframeview.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 67d28a26bc43fcf7e7455c006684d4282be5d560
Author: Tor Lillqvist <tml at iki.fi>
Date: Tue Jun 18 18:12:09 2013 +0300
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 at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 5567260..6a53201 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;
More information about the Libreoffice-commits
mailing list