Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
clippy
Richie McIlroy036968bb102e
diff --git a/apps/desktop/src-tauri/src/editor_window.rs b/apps/desktop/src-tauri/src/editor_window.rsindex e85b90077..12415f619 100644--- a/apps/desktop/src-tauri/src/editor_window.rs+++ b/apps/desktop/src-tauri/src/editor_window.rs@@ -37,7 +37,7 @@ async fn do_prewarm(app: AppHandle, path: PathBuf) -> PendingResult {GpuOutputFormat::Rgba => WSFrameFormat::Rgba,};WSFrame {- data: frame.data,+ data: Arc::new(frame.data.into_vec()),width: frame.width,height: frame.height,stride: frame.y_stride,@@ -254,7 +254,7 @@ impl EditorInstances {GpuOutputFormat::Rgba => WSFrameFormat::Rgba,};WSFrame {- data: frame.data,+ data: Arc::new(frame.data.into_vec()),width: frame.width,height: frame.height,stride: frame.y_stride,diff --git a/crates/rendering/src/cursor_interpolation.rs b/crates/rendering/src/cursor_interpolation.rsindex e68d118d4..3611945f4 100644--- a/crates/rendering/src/cursor_interpolation.rs+++ b/crates/rendering/src/cursor_interpolation.rs@@ -625,9 +625,8 @@ mod tests {.map(|i| cursor_move(i as f64 * 2.0, 0.5 + i as f64 * 1e-6, 0.5)).collect();let decimated = decimate_cursor_moves(&moves);- match decimated {- Cow::Owned(v) => assert!(v.len() < moves.len()),- Cow::Borrowed(_) => {}+ if let Cow::Owned(v) = decimated {+ assert!(v.len() < moves.len());}}