diff options
| author | Ray <[email protected]> | 2022-04-24 17:58:51 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-04-24 17:58:51 +0200 |
| commit | e543922055c1bf22b8dc9d3062481d26536c54e5 (patch) | |
| tree | c692626574fbf0bfce58b0a834ed65822ca9d821 /src/rcore.c | |
| parent | f2c7b0d3bf689f57162b98ab133f9f3a4d7a9643 (diff) | |
| download | raylib-e543922055c1bf22b8dc9d3062481d26536c54e5.tar.gz raylib-e543922055c1bf22b8dc9d3062481d26536c54e5.zip | |
Review formatting
Diffstat (limited to 'src/rcore.c')
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index 26fe01a8..7823e311 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -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 (fabs(xoffset)>fabs(yoffset)) CORE.Input.Mouse.currentWheelMove = (float)xoffset; + if (fabs(xoffset) > fabs(yoffset)) CORE.Input.Mouse.currentWheelMove = (float)xoffset; else CORE.Input.Mouse.currentWheelMove = (float)yoffset; } |
