aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/input.rs b/src/input.rs
index 007c57bd..9378b140 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -741,12 +741,7 @@ mod tests {
state: ElementState::Pressed,
button: MouseButton::Left,
device_id: unsafe { ::std::mem::transmute_copy(&0) },
- modifiers: ModifiersState {
- shift: false,
- ctrl: false,
- alt: false,
- logo: false,
- },
+ modifiers: ModifiersState::default(),
},
window_id: unsafe { ::std::mem::transmute_copy(&0) },
},
@@ -762,12 +757,7 @@ mod tests {
state: ElementState::Pressed,
button: MouseButton::Left,
device_id: unsafe { ::std::mem::transmute_copy(&0) },
- modifiers: ModifiersState {
- shift: false,
- ctrl: false,
- alt: false,
- logo: false,
- },
+ modifiers: ModifiersState::default(),
},
window_id: unsafe { ::std::mem::transmute_copy(&0) },
},
@@ -783,12 +773,7 @@ mod tests {
state: ElementState::Pressed,
button: MouseButton::Left,
device_id: unsafe { ::std::mem::transmute_copy(&0) },
- modifiers: ModifiersState {
- shift: false,
- ctrl: false,
- alt: false,
- logo: false,
- },
+ modifiers: ModifiersState::default(),
},
window_id: unsafe { ::std::mem::transmute_copy(&0) },
},