mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +01:00
allow mouse wheel zooming on viewports, fixes #774
This commit is contained in:
@@ -319,7 +319,7 @@ static void window_all_wheel_input()
|
||||
w = window_find_from_point(gCursorState.x, gCursorState.y);
|
||||
if (w != NULL) {
|
||||
// Check if main window
|
||||
if (w->classification == WC_MAIN_WINDOW) {
|
||||
if (w->classification == WC_MAIN_WINDOW || w->classification == WC_VIEWPORT) {
|
||||
window_viewport_wheel_input(w, wheel);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user