mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Code review comments
- Revert version back to 0.0.4 - Add comment that set_cursor has no effect on Android
This commit is contained in:
parent
5389c73b85
commit
0fba0a9a73
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "glutin"
|
name = "glutin"
|
||||||
version = "0.0.5-pre"
|
version = "0.0.4-pre"
|
||||||
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
||||||
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
|
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
|
||||||
keywords = ["windowing", "opengl"]
|
keywords = ["windowing", "opengl"]
|
||||||
|
|
|
@ -617,6 +617,7 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Modifies the mouse cursor of the window.
|
/// Modifies the mouse cursor of the window.
|
||||||
|
/// Has no effect on Android.
|
||||||
pub fn set_cursor(&mut self, cursor: MouseCursor) {
|
pub fn set_cursor(&mut self, cursor: MouseCursor) {
|
||||||
self.window.set_cursor(cursor);
|
self.window.set_cursor(cursor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue