mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 11:17:27 +00:00
feat(backend): only hide window on unfocus in production
This commit is contained in:
parent
5b064d5b66
commit
dc38b38611
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ pub fn run() {
|
|||
}
|
||||
tauri::WindowEvent::Focused(false) => {
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
let _ = window.hide();
|
||||
if !cfg!(debug_assertions) {
|
||||
let _ = window.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue