Change: [OSX] Reversed pinch to zoom behaviour.

Made pinch out zoom in and pinch in zoom out, as virtually all macOS
applications do.
This commit is contained in:
Alexander Weiss 2018-04-27 20:28:59 +02:00 committed by Michael Lutz
parent 17257b9620
commit 6df7ced343

View File

@ -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;