WARNING: REVIEWED: A big bug with GetMouseWheelMove()

This commit is contained in:
Ray 2022-01-01 17:49:07 +01:00
parent f5a832e770
commit 7eb341ccaf

View file

@ -3671,10 +3671,10 @@ float GetMouseWheelMove(void)
return 0.0f; return 0.0f;
#endif #endif
#if defined(PLATFORM_WEB) #if defined(PLATFORM_WEB)
return CORE.Input.Mouse.previousWheelMove/100.0f; return CORE.Input.Mouse.currentWheelMove/100.0f;
#endif #endif
return CORE.Input.Mouse.previousWheelMove; return CORE.Input.Mouse.currentWheelMove;
} }
// Set mouse cursor // Set mouse cursor