From e543922055c1bf22b8dc9d3062481d26536c54e5 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 24 Apr 2022 17:58:51 +0200 Subject: [PATCH] Review formatting --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 26fe01a81..7823e3117 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; }