Correct MouseWheel doc comment.

Remove incomplete sentence and obsolete comment
about the meaning of the parameter.
This commit is contained in:
Robert Knight 2015-06-15 23:54:43 +01:00
parent 5b08220df5
commit b2c2f300dc

View file

@ -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.