Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Update mod.rs
Richie McIlroy7da02c23acd1
diff --git a/crates/recording/src/sources/screen_capture/mod.rs b/crates/recording/src/sources/screen_capture/mod.rsindex 0353d5bb5..c55224f7c 100644--- a/crates/recording/src/sources/screen_capture/mod.rs+++ b/crates/recording/src/sources/screen_capture/mod.rs@@ -317,8 +317,10 @@ impl<TCaptureFormat: ScreenCaptureFormat> ScreenCaptureConfig<TCaptureFormat> {))}- #[cfg(windows)]- Some(b.size().map(|v| (v / 2.0).floor() * 2.0))+ #[cfg(target_os = "windows")]+ {+ Some(b.size().map(|v| (v / 2.0).floor() * 2.0))+ }}).or_else(|| display.physical_size()).ok_or(ScreenCaptureInitError::NoBounds)?;