Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(editor): initialize keyboard track when importing captions

Richie McIlroyf9d715008aaa
diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsx
index b5809a412..5307ad916 100644
--- a/apps/desktop/src/routes/editor/Timeline/index.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx
@@ -600,6 +600,7 @@ export function Timeline() {
maskSegments: [],
textSegments: [],
captionSegments: [],
+ keyboardSegments: [],
};
currentProject.timeline.captionSegments = createCaptionTrackSegments(
result.segments,