mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 22:24:28 +01:00
Codechange: Creating enum for 'scrollwheel_scrolling' setting
This commit is contained in:
committed by
rubidium42
parent
e8be933ee6
commit
c53ed9fad6
@@ -434,7 +434,7 @@ struct MainWindow : Window
|
||||
|
||||
void OnMouseWheel(int wheel) override
|
||||
{
|
||||
if (_settings_client.gui.scrollwheel_scrolling != 2) {
|
||||
if (_settings_client.gui.scrollwheel_scrolling != SWS_OFF) {
|
||||
ZoomInOrOutToCursorWindow(wheel < 0, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user