瀏覽代碼

- Fix issue #2371 (#2437)

pull/2442/head
Juan Carlos González Amestoy 2 年之前
committed by GitHub
父節點
當前提交
f2c7b0d3bf
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rcore.c

+ 1
- 1
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 (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…
取消
儲存