fix: show windows on click
This commit is contained in:
parent
43ef3cc562
commit
a092da1943
@ -98,6 +98,7 @@ pub fn create_window(app_handle: &AppHandle) {
|
|||||||
|
|
||||||
tauri::async_runtime::spawn(async move {
|
tauri::async_runtime::spawn(async move {
|
||||||
if let Some(window) = app_handle.get_window("main") {
|
if let Some(window) = app_handle.get_window("main") {
|
||||||
|
let _ = window.show();
|
||||||
let _ = set_shadow(&window, true);
|
let _ = set_shadow(&window, true);
|
||||||
|
|
||||||
if !winhelp::is_win11() {
|
if !winhelp::is_win11() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user