summaryrefslogtreecommitdiffstats
path: root/examples/integration
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-03-28 13:40:50 +0100
committerLibravatar GitHub <noreply@github.com>2020-03-28 13:40:50 +0100
commitebc9d275a44bc11f48f49a198a378ac201e86d77 (patch)
tree5e55bae1e97b51536070b561389f766429354fa1 /examples/integration
parent4d3afe2f0c6d42bb86248c1dbf5c5188e2b9e9ba (diff)
parente23e93218c3b67a00637ea7a3a190c9b28379665 (diff)
downloadiced-ebc9d275a44bc11f48f49a198a378ac201e86d77.tar.gz
iced-ebc9d275a44bc11f48f49a198a378ac201e86d77.tar.bz2
iced-ebc9d275a44bc11f48f49a198a378ac201e86d77.zip
Merge pull request #239 from hecrj/avoid-moving-winit-event
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,
) {