From ffc3240601ae3f54fbc3e749d9f90a396b587e96 Mon Sep 17 00:00:00 2001 From: Sophie <70588905+probablySophie@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:44:34 +0800 Subject: [PATCH] Possible #612 fix --- src/ui/window.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ui/window.c b/src/ui/window.c index eeaf82fb..9062afc2 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1506,10 +1506,11 @@ iBool dispatchEvent_Window(iWindow *d, const SDL_Event *ev) { continue; } } - if (ev->type == SDL_MOUSEWHEEL && !contains_Rect(rect_Root(root), - coord_MouseWheelEvent(&ev->wheel))) { - continue; /* Only process the event in the relevant split. */ - } + // Commenting this out appears to resolve issue #612 + //if (ev->type == SDL_MOUSEWHEEL && !contains_Rect(rect_Root(root), + // coord_MouseWheelEvent(&ev->wheel))) { + // continue; /* Only process the event in the relevant split. */ + //} if (!root->widget) { continue; }