mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
parent
4cbbdbf518
commit
ad8830d2b7
4
run.go
4
run.go
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user