Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(gpui): stop creating a timeline when opening clips

dovidmoished38591fe4671
diff --git a/apps/desktop-gpui/src/editor_clips.rs b/apps/desktop-gpui/src/editor_clips.rs
index 6c27a3412..53f94e213 100644
--- a/apps/desktop-gpui/src/editor_clips.rs
+++ b/apps/desktop-gpui/src/editor_clips.rs
@@ -468,11 +468,6 @@ impl EditorWindow {
if self.clips.open {
self.close_clips(window, cx);
} else {
- 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();