Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: max_screen_width adjustment

Richie McIlroy6857a61e9cfa
diff --git a/apps/desktop/src-tauri/src/media.rs b/apps/desktop/src-tauri/src/media.rs
index 84cfb376d..26bdb7e7f 100644
--- a/apps/desktop/src-tauri/src/media.rs
+++ b/apps/desktop/src-tauri/src/media.rs
@@ -66,9 +66,6 @@ impl MediaRecorder {
let mut h = max_screen_height;
if max_screen_width > 4000 {
- w = max_screen_width / 3;
- h = max_screen_height / 3;
- } else if max_screen_width > 2000 {
w = max_screen_width / 2;
h = max_screen_height / 2;
}