diff --git a/src/Input.cpp b/src/Input.cpp index 5b9412efe7b..9a54a518c61 100644 --- a/src/Input.cpp +++ b/src/Input.cpp @@ -658,8 +658,10 @@ void Manager::HandleSDLEvent(SDL_Event &event) } break; case SDL_MOUSEWHEEL: - mouseWheel = event.wheel.y; - onMouseWheel.emit(event.wheel.y > 0); // true = up + if (event.wheel.y != 0) { + mouseWheel = event.wheel.y; + onMouseWheel.emit(event.wheel.y > 0); // true = up + } break; case SDL_MOUSEMOTION: mouseMotion[0] += event.motion.xrel;