From 6df7ced343deb150323f709822b5fde1e8fe1d97 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Fri, 27 Apr 2018 20:28:59 +0200 Subject: Change: [OSX] Reversed pinch to zoom behaviour. Made pinch out zoom in and pinch in zoom out, as virtually all macOS applications do. --- src/video/cocoa/event.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video/cocoa') diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm index f4a7c2b42..30b6563b6 100644 --- a/src/video/cocoa/event.mm +++ b/src/video/cocoa/event.mm @@ -587,12 +587,12 @@ static bool QZ_PollEvent() while (_current_magnification >= 1.0f) { _current_magnification -= 1.0f; - _cursor.wheel++; + _cursor.wheel--; HandleMouseEvents(); } while (_current_magnification <= -1.0f) { _current_magnification += 1.0f; - _cursor.wheel--; + _cursor.wheel++; HandleMouseEvents(); } break; -- cgit v1.2.3-70-g09d2