Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Combine conditions for hiding overlay windows
Richie McIlroy62f2c172e681
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rsindex ea551b88a..25818df7c 100644--- a/apps/desktop/src-tauri/src/recording.rs+++ b/apps/desktop/src-tauri/src/recording.rs@@ -1479,18 +1479,18 @@ pub async fn take_screenshot(let mut hid_any = false;for (label, window) in app.webview_windows() {- if let Ok(id) = CapWindowId::from_str(&label) {- if matches!(+ if let Ok(id) = CapWindowId::from_str(&label)+ && matches!(id,CapWindowId::TargetSelectOverlay { .. }| CapWindowId::WindowCaptureOccluder { .. }| CapWindowId::CaptureArea| CapWindowId::ModeSelect| CapWindowId::RecordingsOverlay- ) {- hide_overlay(&window);- hid_any = true;- }+ )+ {+ hide_overlay(&window);+ hid_any = true;}}