Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub enum ScrollDelta {
pub enum MouseEvent {
/// The mouse cursor was moved.
CursorMoved {
/// The logical coordinates of the mouse position.
/// The physical coordinates of the mouse position.
position: PhysicalPosition<f64>,
/// The modifiers that were held down just before the event.
modifiers: Modifiers,
Expand Down Expand Up @@ -80,7 +80,7 @@ pub enum MouseEvent {
CursorLeft,

DragEntered {
/// The logical coordinates of the mouse position.
/// The physical coordinates of the mouse position.
position: PhysicalPosition<f64>,
/// The modifiers that were held down just before the event.
modifiers: Modifiers,
Expand All @@ -89,7 +89,7 @@ pub enum MouseEvent {
},

DragMoved {
/// The logical coordinates of the mouse position.
/// The physical coordinates of the mouse position.
position: PhysicalPosition<f64>,
/// The modifiers that were held down just before the event.
modifiers: Modifiers,
Expand All @@ -100,7 +100,7 @@ pub enum MouseEvent {
DragLeft,

DragDropped {
/// The logical coordinates of the mouse position.
/// The physical coordinates of the mouse position.
position: PhysicalPosition<f64>,
/// The modifiers that were held down just before the event.
modifiers: Modifiers,
Expand Down
Loading