Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/desktop/src-tauri/src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ impl ShowCapWindow {
window
}
Self::Settings { page } => {
// Hide main window and target select overlays when settings window opens
// Close main window and target select overlays when settings window opens
for (label, window) in app.webview_windows() {
if let Ok(id) = CapWindowId::from_str(&label)
&& matches!(
Expand All @@ -390,7 +390,7 @@ impl ShowCapWindow {
| CapWindowId::Camera
)
{
let _ = window.hide();
let _ = window.close();
}
}

Expand Down
Loading