summaryrefslogtreecommitdiffstats
path: root/examples/integration
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-27 22:02:23 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-27 22:06:20 +0100
commite23e93218c3b67a00637ea7a3a190c9b28379665 (patch)
tree5e55bae1e97b51536070b561389f766429354fa1 /examples/integration
parent4d3afe2f0c6d42bb86248c1dbf5c5188e2b9e9ba (diff)
downloadiced-e23e93218c3b67a00637ea7a3a190c9b28379665.tar.gz
iced-e23e93218c3b67a00637ea7a3a190c9b28379665.tar.bz2
iced-e23e93218c3b67a00637ea7a3a190c9b28379665.zip
Convert `WindowEvent` from a reference in `iced_winit`
Diffstat (limited to 'examples/integration')
-rw-r--r--examples/integration/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs
index 2cb89ffc..1c544449 100644
--- a/examples/integration/src/main.rs
+++ b/examples/integration/src/main.rs
@@ -85,7 +85,7 @@ pub fn main() {
// Map window event to iced event
if let Some(event) = iced_winit::conversion::window_event(
- event,
+ &event,
window.scale_factor(),
modifiers,
) {