Convert WindowEvent from a reference in iced_winit
This commit is contained in:
parent
4d3afe2f0c
commit
e23e93218c
3 changed files with 14 additions and 14 deletions
|
|
@ -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,
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue