mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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.
|
// CursorModeHidden hides the system cursor when over the window.
|
||||||
// CursorModeCaptured hides the system cursor and locks it to 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.
|
// SetCursorMode does nothing on mobiles.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user