1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

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

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