1
0
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:
IntelOrca
2015-02-11 22:42:54 +00:00
parent 392ff7bfea
commit 483e983639

View File

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