mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
committed by
GitHub
parent
57039fb216
commit
f6edc6df29
6
.changes/update-tao-wry.md
Normal file
6
.changes/update-tao-wry.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-runtime-wry": minor
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Update tao to 0.12 and wry to 0.19.
|
||||
@@ -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" ] }
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user