fix(core/window): set window_effects from config (#8677)

Signed-off-by: AuTa <auta520@live.com>
This commit is contained in:
AuTa 2024-01-25 21:07:39 +08:00 committed by GitHub
parent fd4bf94d4c
commit 5e1ae87c0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -241,6 +241,7 @@ async fn reopen_window(app: tauri::AppHandle) {
Self {
manager,
label: config.label.clone(),
window_effects: config.window_effects.clone(),
window_builder:
<R::WindowDispatcher as WindowDispatch<EventLoopMessage>>::WindowBuilder::with_config(
config,
@ -249,7 +250,6 @@ async fn reopen_window(app: tauri::AppHandle) {
menu: None,
#[cfg(desktop)]
on_menu_event: None,
window_effects: None,
}
}