Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom

This commit is contained in:
Alexander Weiss
2018-04-28 00:12:49 +02:00
committed by Michael Lutz
parent 6df7ced343
commit e1a164b531
4 changed files with 5 additions and 5 deletions

View File

@@ -439,7 +439,7 @@ struct MainWindow : Window
virtual void OnMouseWheel(int wheel)
{
if (_settings_client.gui.scrollwheel_scrolling == 0) {
if (_settings_client.gui.scrollwheel_scrolling != 2) {
ZoomInOrOutToCursorWindow(wheel < 0, this);
}
}