mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-23 17:32:02 +01:00
ebiten: update the comment for CursorPosition
CursorPosition should return a mouse cursor position on browsers even in mobiles. Closes #3087
This commit is contained in:
parent
a786f23e28
commit
15dfb02f9f
2
input.go
2
input.go
@ -79,7 +79,7 @@ func KeyName(key Key) string {
|
||||
//
|
||||
// CursorPosition returns (0, 0) before the main loop on desktops and browsers.
|
||||
//
|
||||
// CursorPosition always returns (0, 0) on mobiles.
|
||||
// CursorPosition always returns (0, 0) on mobile native applications.
|
||||
//
|
||||
// CursorPosition is concurrent-safe.
|
||||
func CursorPosition() (x, y int) {
|
||||
|
Loading…
Reference in New Issue
Block a user