mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 14:20:05 -04:00
Update cursor visibility docs (#893)
The cursor visibility docs were still outdated from the rename and talking about setting the invisibility, rather than visibility. The platform-specific docs are unchanged since those should be fine and the rest has been adapted using similar docs.
This commit is contained in:
committed by
Hal Gentz
parent
0eefa3ba42
commit
07356b9634
@@ -638,7 +638,9 @@ impl Window {
|
|||||||
self.window.set_cursor_grab(grab)
|
self.window.set_cursor_grab(grab)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Hides the cursor, making it invisible but still usable.
|
/// Modifies the cursor's visibility.
|
||||||
|
///
|
||||||
|
/// If `false`, this will hide the cursor. If `true`, this will show the cursor.
|
||||||
///
|
///
|
||||||
/// ## Platform-specific
|
/// ## Platform-specific
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user