fix: show windows on click

This commit is contained in:
GyDi 2022-06-18 17:28:37 +08:00
parent 43ef3cc562
commit a092da1943
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

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() {