mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 14:21:31 +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.
|
||||
MouseMoved((i32, i32)),
|
||||
|
||||
/// A mouse wheel or touchpad scroll occurred. Depending on whether the
|
||||
///
|
||||
/// 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.
|
||||
/// A mouse wheel movement or touchpad scroll occurred.
|
||||
MouseWheel(MouseScrollDelta),
|
||||
|
||||
/// An event from the mouse has been received.
|
||||
|
|
Loading…
Reference in a new issue