1
0
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:
Steve Goldman
2024-06-18 14:47:44 -05:00
committed by rubidium42
parent e8be933ee6
commit c53ed9fad6
6 changed files with 15 additions and 8 deletions

View File

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