Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
clippy
Richie McIlroy103feb9eefa3
diff --git a/crates/rendering/src/decoder/media_foundation.rs b/crates/rendering/src/decoder/media_foundation.rsindex d820d2b1c..9d7ffb140 100644--- a/crates/rendering/src/decoder/media_foundation.rs+++ b/crates/rendering/src/decoder/media_foundation.rs@@ -95,7 +95,7 @@ impl DecoderHealthMonitor {let should_warn = self.last_unhealthy_warning- .map_or(true, |last| last.elapsed() > Duration::from_secs(5));+ .is_none_or(|last| last.elapsed() > Duration::from_secs(5));if should_warn {self.last_unhealthy_warning = Some(Instant::now());