diff options
| author | Ray <[email protected]> | 2022-01-01 17:49:07 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-01-01 17:49:07 +0100 |
| commit | 7eb341ccafa1cb39006b354714e4524a612c6e25 (patch) | |
| tree | 4e17d9609a571992a453fc28245c77b50caa3cf9 /src | |
| parent | f5a832e770c0e9635dde8e598eda506f7f059145 (diff) | |
| download | raylib-7eb341ccafa1cb39006b354714e4524a612c6e25.tar.gz raylib-7eb341ccafa1cb39006b354714e4524a612c6e25.zip | |
WARNING: REVIEWED: A big bug with `GetMouseWheelMove()`
Diffstat (limited to 'src')
| -rw-r--r-- | src/rcore.c | 4 |
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 |
