Browse Source

- Fix issue #2371 (#2437)

pull/2442/head
Juan Carlos González Amestoy 2 years ago
committed by GitHub
parent
commit
f2c7b0d3bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

@ -5409,7 +5409,7 @@ static void MouseCursorPosCallback(GLFWwindow *window, double x, double y)
// GLFW3 Scrolling Callback, runs on mouse wheel
static void MouseScrollCallback(GLFWwindow *window, double xoffset, double yoffset)
{
if (p">(float)xoffset != 0.0f) CORE.Input.Mouse.currentWheelMove = (float)xoffset;
if (n">fabs(xoffset)>fabs(yoffset)) CORE.Input.Mouse.currentWheelMove = (float)xoffset;
else CORE.Input.Mouse.currentWheelMove = (float)yoffset;
}

Loading…
Cancel
Save