dioxus-desktop(Update-dep): tauri 0.19.x (#489)

* Update(dep): tauri 0.19.x
This commit is contained in:
Adia Robbie authored and GitHub committed 2022-07-06 12:05:31 -04:00
1 parent baaa1752d3
commit c271fc132e
3 files changed
+4 -10

No files matched your search

-7
View File
@@ -213,13 +213,6 @@ pub fn launch_with_props<P: 'static + Send>(
} => match event {
WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit,
WindowEvent::Destroyed { .. } => desktop.close_window(window_id, control_flow),
WindowEvent::Resized(_) | WindowEvent::Moved(_) => {
if let Some(view) = desktop.webviews.get_mut(&window_id) {
let _ = view.resize();
}
}
_ => {}
},