瀏覽代碼

WARNING: REVIEWED: A big bug with `GetMouseWheelMove()`

pull/2258/head
Ray 3 年之前
父節點
當前提交
7eb341ccaf
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/rcore.c

+ 2
- 2
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

Loading…
取消
儲存