chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502)

This commit is contained in:
Lucas Fernandes Nogueira
2022-06-28 06:05:09 -07:00
committed by GitHub
parent 57039fb216
commit f6edc6df29
3 changed files with 7 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": minor
"tauri": patch
---
Update tao to 0.12 and wry to 0.19.

View File

@@ -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" ] }

View File

@@ -2700,18 +2700,6 @@ fn handle_event_loop<T: UserEvent>(
}
}
}
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);
}
}
}
_ => {}
}
}