Skip to content

Commit

Permalink
refactor: 💡 rm always on top (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingryan authored Nov 22, 2023
1 parent 81dcdcc commit 4a08d92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/core/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4a08d92

Please sign in to comment.