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); - } - } - } _ => {} } }