Codechange: Use enum class for setting values (#15074)

This commit is contained in:
Tyler Trahan
2026-01-10 22:40:48 +00:00
committed by GitHub
parent 6a06a76b5d
commit 18f2f7eb2d
29 changed files with 175 additions and 178 deletions
+1 -1
View File
@@ -1127,7 +1127,7 @@ public:
void OnMouseWheel(int wheel, WidgetID widget) override
{
if (widget != WID_IV_VIEWPORT) return;
if (_settings_client.gui.scrollwheel_scrolling != SWS_OFF) {
if (_settings_client.gui.scrollwheel_scrolling != ScrollWheelScrolling::Off) {
DoZoomInOutWindow(wheel < 0 ? ZOOM_IN : ZOOM_OUT, this);
}
}