This website works better with JavaScript.
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
24
Wiki
Activity
瀏覽代碼
Small fix in GetMouseY (
#940
)
pull/945/head
Wayde Reitsma
5 年之前
committed by
Ray
父節點
6f2f09947f
當前提交
2c2ccadd32
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/core.c
+ 1
- 1
src/core.c
查看文件
@ -2324,7 +2324,7 @@ int GetMouseX(void)
int
GetMouseY
(
void
)
{
#
if defined(PLATFORM_ANDROID)
return
(
int
)
touchPosition
[
0
]
.
x
;
return
(
int
)
touchPosition
[
0
]
.
y
;
#
else
return
(
int
)
(
(
mousePosition
.
y
+
mouseOffset
.
y
)
*
mouseScale
.
y
)
;
#
endif
Write
Preview
Loading…
取消
儲存