Skip to content

Commit f6edc6d

Browse files
authored
chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502)
1 parent 57039fb commit f6edc6d

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

.changes/update-tao-wry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-runtime-wry": minor
3+
"tauri": patch
4+
---
5+
6+
Update tao to 0.12 and wry to 0.19.

core/tauri-runtime-wry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
1313
readme = "README.md"
1414

1515
[dependencies]
16-
wry = { version = "0.18.3", default-features = false, features = [ "file-drop", "protocol" ] }
16+
wry = { version = "0.19", default-features = false, features = [ "file-drop", "protocol" ] }
1717
tauri-runtime = { version = "0.9.0", path = "../tauri-runtime" }
1818
tauri-utils = { version = "1.0.0", path = "../tauri-utils" }
1919
uuid = { version = "1", features = [ "v4" ] }

core/tauri-runtime-wry/src/lib.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,18 +2700,6 @@ fn handle_event_loop<T: UserEvent>(
27002700
}
27012701
}
27022702
}
2703-
WryWindowEvent::Resized(_) => {
2704-
if let Some(WindowHandle::Webview(webview)) = windows
2705-
.lock()
2706-
.expect("poisoned webview collection")
2707-
.get(&window_id)
2708-
.and_then(|w| w.inner.as_ref())
2709-
{
2710-
if let Err(e) = webview.resize() {
2711-
debug_eprintln!("{}", e);
2712-
}
2713-
}
2714-
}
27152703
_ => {}
27162704
}
27172705
}

0 commit comments

Comments
 (0)