Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Close camera window when opening editor windows
Richie McIlroyadf04288fa4b
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rsindex a88dc4bc3..0e817aa10 100644--- a/apps/desktop/src-tauri/src/windows.rs+++ b/apps/desktop/src-tauri/src/windows.rs@@ -444,6 +444,9 @@ impl ShowCapWindow {if let Some(main) = CapWindowId::Main.get(app) {let _ = main.close();};+ if let Some(camera) = CapWindowId::Camera.get(app) {+ let _ = camera.close();+ };self.window_builder(app, "/editor").maximizable(true)@@ -455,6 +458,9 @@ impl ShowCapWindow {if let Some(main) = CapWindowId::Main.get(app) {let _ = main.close();};+ if let Some(camera) = CapWindowId::Camera.get(app) {+ let _ = camera.close();+ };self.window_builder(app, "/screenshot-editor").maximizable(true)