diff options
| author | 2020-12-15 06:13:19 +0100 | |
|---|---|---|
| committer | 2020-12-15 06:13:19 +0100 | |
| commit | 09110a93b06ae33af6870b4aded8637748cecace (patch) | |
| tree | 64f4d9a4dde51ef44ea47f94c2079e5346df4c6c /core | |
| parent | a42b3c6998274e75fd10f5ff3cecbdb37b9e3895 (diff) | |
| parent | 36bdc0be1a0f959c84c18286b85c1ab51be330e6 (diff) | |
| download | iced-09110a93b06ae33af6870b4aded8637748cecace.tar.gz iced-09110a93b06ae33af6870b4aded8637748cecace.tar.bz2 iced-09110a93b06ae33af6870b4aded8637748cecace.zip | |
Merge branch 'ios-support-wip' into feature/touch-support
Diffstat (limited to '')
| -rw-r--r-- | core/src/mouse/event.rs | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/core/src/mouse/event.rs b/core/src/mouse/event.rs index 2f07b207..321b8399 100644 --- a/core/src/mouse/event.rs +++ b/core/src/mouse/event.rs @@ -1,3 +1,5 @@ +use crate::Point; +  use super::Button;  /// A mouse event. @@ -16,11 +18,8 @@ pub enum Event {      /// The mouse cursor was moved      CursorMoved { -        /// The X coordinate of the mouse position -        x: f32, - -        /// The Y coordinate of the mouse position -        y: f32, +        /// The new position of the mouse cursor +        position: Point,      },      /// A mouse button was pressed. | 
