Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(gpui): read clip durations from the public project summary
dovidmoishefb9bd7abd5bc
diff --git a/apps/desktop-gpui/src/editor_clips.rs b/apps/desktop-gpui/src/editor_clips.rsindex 6b04032a1..20028656b 100644--- a/apps/desktop-gpui/src/editor_clips.rs+++ b/apps/desktop-gpui/src/editor_clips.rs@@ -464,7 +464,11 @@ impl EditorWindow {if self.clips.open {self.close_clips(window, cx);} else {- edits::ensure_timeline(&mut self.project, &self.clip_display_durations);+ let durations = self+ .summary()+ .map(|summary| summary.clip_display_durations.clone())+ .unwrap_or_default();+ edits::ensure_timeline(&mut self.project, &durations);self.clips.open = true;}cx.notify();