forked from mirror/OpenTTD
Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom
This commit is contained in:
committed by
Michael Lutz
parent
6df7ced343
commit
e1a164b531
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user