From f6edc6df29b1c45b483fa87c481a3b95730b131b Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Tue, 28 Jun 2022 06:05:09 -0700 Subject: [PATCH] chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502) --- .changes/update-tao-wry.md | 6 ++++++ core/tauri-runtime-wry/Cargo.toml | 2 +- core/tauri-runtime-wry/src/lib.rs | 12 ------------ 3 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 .changes/update-tao-wry.md diff --git a/.changes/update-tao-wry.md b/.changes/update-tao-wry.md new file mode 100644 index 000000000..485c97452 --- /dev/null +++ b/.changes/update-tao-wry.md @@ -0,0 +1,6 @@ +--- +"tauri-runtime-wry": minor +"tauri": patch +--- + +Update tao to 0.12 and wry to 0.19. diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index b61383938..a62daf86c 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -13,7 +13,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ] readme = "README.md" [dependencies] -wry = { version = "0.18.3", default-features = false, features = [ "file-drop", "protocol" ] } +wry = { version = "0.19", default-features = false, features = [ "file-drop", "protocol" ] } tauri-runtime = { version = "0.9.0", path = "../tauri-runtime" } tauri-utils = { version = "1.0.0", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } diff --git a/core/tauri-runtime-wry/src/lib.rs b/core/tauri-runtime-wry/src/lib.rs index b7733967d..a621aff3a 100644 --- a/core/tauri-runtime-wry/src/lib.rs +++ b/core/tauri-runtime-wry/src/lib.rs @@ -2700,18 +2700,6 @@ fn handle_event_loop( } } } - WryWindowEvent::Resized(_) => { - if let Some(WindowHandle::Webview(webview)) = windows - .lock() - .expect("poisoned webview collection") - .get(&window_id) - .and_then(|w| w.inner.as_ref()) - { - if let Err(e) = webview.resize() { - debug_eprintln!("{}", e); - } - } - } _ => {} } }