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:
Christian Duerr
2019-06-02 00:06:41 +00:00
committed by Hal Gentz
parent 0eefa3ba42
commit 07356b9634

View File

@@ -638,7 +638,9 @@ impl Window {
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
///