mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Correct MouseWheel doc comment.
Remove incomplete sentence and obsolete comment about the meaning of the parameter.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user