diff --git a/src/platforms/rcore_web_emscripten.c b/src/platforms/rcore_web_emscripten.c index 090b74901..6e7d40e2b 100644 --- a/src/platforms/rcore_web_emscripten.c +++ b/src/platforms/rcore_web_emscripten.c @@ -1771,7 +1771,7 @@ static EM_BOOL EmscriptenMouseWheelCallback(int eventType, const EmscriptenWheel if (eventType == EMSCRIPTEN_EVENT_WHEEL) { CORE.Input.Mouse.currentWheelMove.x = (float)wheelEvent->deltaX; - CORE.Input.Mouse.currentWheelMove.y = (float)wheelEvent->deltaY; + CORE.Input.Mouse.currentWheelMove.y = -(float)wheelEvent->deltaY; } return 1; // The event was consumed by the callback handler