mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51:30 +11:00
Correct MouseWheel doc comment.
Remove incomplete sentence and obsolete comment about the meaning of the parameter.
This commit is contained in:
parent
5b08220df5
commit
b2c2f300dc
|
@ -25,10 +25,7 @@ pub enum Event {
|
||||||
/// The parameter are the (x,y) coords in pixels relative to the top-left corner of the window.
|
/// The parameter are the (x,y) coords in pixels relative to the top-left corner of the window.
|
||||||
MouseMoved((i32, i32)),
|
MouseMoved((i32, i32)),
|
||||||
|
|
||||||
/// A mouse wheel or touchpad scroll occurred. Depending on whether the
|
/// A mouse wheel movement or touchpad scroll occurred.
|
||||||
///
|
|
||||||
/// A positive value indicates that the wheel was rotated forward, away from the user;
|
|
||||||
/// a negative value indicates that the wheel was rotated backward, toward the user.
|
|
||||||
MouseWheel(MouseScrollDelta),
|
MouseWheel(MouseScrollDelta),
|
||||||
|
|
||||||
/// An event from the mouse has been received.
|
/// An event from the mouse has been received.
|
||||||
|
|
Loading…
Reference in a new issue