Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(editor): defer caption track enable until generation succeeds

Richie McIlroyf515eae05a03
diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsx
index 5307ad916..bed1210cb 100644
--- a/apps/desktop/src/routes/editor/Timeline/index.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx
@@ -562,7 +562,6 @@ export function Timeline() {
const generateCaptionsFromTrack = async () => {
if (!editorInstance) return;
- setEditorState("timeline", "tracks", "caption", true);
setEditorState("captions", "isGenerating", true);
try {