Skip to content

Commit

Permalink
ebiten: update the comment for CursorPosition
Browse files Browse the repository at this point in the history
CursorPosition should return a mouse cursor position on browsers
even in mobiles.

Closes #3087
  • Loading branch information
hajimehoshi committed Sep 9, 2024
1 parent a786f23 commit 15dfb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 15dfb02

Please sign in to comment.