fix: show windows on click

This commit is contained in:
GyDi 2022-06-18 17:28:37 +08:00
parent 00c1d6c42c
commit a78e1d7f2b

View File

@ -98,6 +98,7 @@ pub fn create_window(app_handle: &AppHandle) {
tauri::async_runtime::spawn(async move {
if let Some(window) = app_handle.get_window("main") {
let _ = window.show();
let _ = set_shadow(&window, true);
if !winhelp::is_win11() {