Skip to content

Commit

Permalink
refactor: 💡 rm always on top
Browse files Browse the repository at this point in the history
  • Loading branch information
bingryan committed Nov 22, 2023
1 parent 81dcdcc commit 04777eb
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 04777eb

Please sign in to comment.