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

@ -378,7 +378,7 @@ pub trait Application: Sized {
}
if let Some(event) = conversion::window_event(
window_event,
&window_event,
size.scale_factor(),
modifiers,
) {