Convert WindowEvent from a reference in iced_winit

This commit is contained in:
Héctor Ramón Jiménez 2020-03-27 22:02:23 +01:00
parent 4d3afe2f0c
commit e23e93218c
3 changed files with 14 additions and 14 deletions

View file

@ -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,
) {