[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/aqua
Tor Lillqvist
tml at iki.fi
Tue Jun 18 08:32:26 PDT 2013
vcl/aqua/source/window/salframeview.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 409c588c0340fdf92a8f27fd68d0ca76d699eb27
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/4343
Reviewed-by: Noel Power <noel.power at suse.com>
Tested-by: Noel Power <noel.power at suse.com>
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 2a35a4b..a0715d5 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;
More information about the Libreoffice-commits
mailing list