Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Fix window shadow on Windows platform

Richie McIlroy3e8dbec3261d
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index fc8ab4854..015e6c21d 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -636,7 +636,7 @@ impl ShowCapWindow {
.maximized(false)
.resizable(false)
.fullscreen(false)
- .shadow(true)
+ .shadow(!cfg!(windows))
.always_on_top(true)
.transparent(true)
.visible_on_all_workspaces(true)