summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2022-01-01 17:49:07 +0100
committerRay <[email protected]>2022-01-01 17:49:07 +0100
commit7eb341ccafa1cb39006b354714e4524a612c6e25 (patch)
tree4e17d9609a571992a453fc28245c77b50caa3cf9 /src
parentf5a832e770c0e9635dde8e598eda506f7f059145 (diff)
downloadraylib-7eb341ccafa1cb39006b354714e4524a612c6e25.tar.gz
raylib-7eb341ccafa1cb39006b354714e4524a612c6e25.zip
WARNING: REVIEWED: A big bug with `GetMouseWheelMove()`
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