From 4a08d928dd1afdd490fdd897c29a2942a380317c Mon Sep 17 00:00:00 2001 From: bingryan <41174435+bingryan@users.noreply.github.com> Date: Wed, 22 Nov 2023 19:24:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20rm=20always=20on=20t?= =?UTF-8?q?op=20(#58)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/core/handle.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/core/handle.rs b/src-tauri/src/core/handle.rs index a91ed77..781a461 100644 --- a/src-tauri/src/core/handle.rs +++ b/src-tauri/src/core/handle.rs @@ -85,8 +85,9 @@ impl Handle { let url = window_info.url.as_str(); if let Some(window) = app_handle.get_window(label) { - let _ = window.set_always_on_top(true); + // let _ = window.set_always_on_top(true); let _ = window.show(); + let _ = window.set_focus(); return; }