summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 0c1d9d4d..7752a7cc 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -3671,10 +3671,10 @@ float GetMouseWheelMove(void)
return 0.0f;
#endif
#if defined(PLATFORM_WEB)
- return CORE.Input.Mouse.previousWheelMove/100.0f;
+ return CORE.Input.Mouse.currentWheelMove/100.0f;
#endif
- return CORE.Input.Mouse.previousWheelMove;
+ return CORE.Input.Mouse.currentWheelMove;
}
// Set mouse cursor