Skip to content

Commit

Permalink
ebiten: Fix the comment about SetCursorMode
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Apr 15, 2021
1 parent 4cbbdbf commit ad8830d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ func CursorMode() CursorModeType {
// CursorModeHidden hides the system cursor when over the window.
// CursorModeCaptured hides the system cursor and locks it to the window.
//
// On browsers, only CursorModeVisible and CursorModeHidden are supported.
// CursorModeCaptured also works on browsers.
// When the user exits the captured mode not by SetCursorMode but by the UI (e.g., pressing ESC),
// the previous cursor mode is set.
//
// SetCursorMode does nothing on mobiles.
//
Expand Down

0 comments on commit ad8830d

Please sign in to comment.