Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Accept first mouse on editor

Richie McIlroyf5d19ceb2e04
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 70ef36206..d6ebd1ee4 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -989,6 +989,7 @@ fn open_editor(app: AppHandle, id: String) {
.title("Cap Editor")
.hidden_title(true)
.title_bar_style(tauri::TitleBarStyle::Overlay)
+ .accept_first_mouse(true)
.theme(Some(tauri::Theme::Light))
.build()
.unwrap();