Skip to content

Commit

Permalink
chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jun 28, 2022
1 parent 57039fb commit f6edc6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .changes/update-tao-wry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": minor
"tauri": patch
---

Update tao to 0.12 and wry to 0.19.
2 changes: 1 addition & 1 deletion core/tauri-runtime-wry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ] }
Expand Down
12 changes: 0 additions & 12 deletions core/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
_ => {}
}
}
Expand Down

0 comments on commit f6edc6d

Please sign in to comment.