Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(tauri): avoid forcing main panel above window during main show

Richie McIlroy86a4e37eaab6
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index 4acad444b..21a3006a7 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -1109,9 +1109,6 @@ impl ShowCapWindow {
let _ = window.set_position(tauri::LogicalPosition::new(pos_x, pos_y));
- panel.order_front_regardless();
- panel.show();
-
crate::platform::apply_squircle_corners(&window, 16.0);
app.set_activation_policy(ActivationPolicy::Regular).ok();