Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: adjust caption and keyboard segments when clip timescale changes
Cursor Agent783d88768b82
diff --git a/apps/desktop/src/routes/editor/context.ts b/apps/desktop/src/routes/editor/context.tsindex d41ae420d..f4c263b0c 100644--- a/apps/desktop/src/routes/editor/context.ts+++ b/apps/desktop/src/routes/editor/context.ts@@ -583,6 +583,16 @@ export const [EditorContextProvider, useEditorContext] = createContextProvider(textSegment.end += diff(textSegment.end);}+ for (const captionSegment of timeline.captionSegments) {+ captionSegment.start += diff(captionSegment.start);+ captionSegment.end += diff(captionSegment.end);+ }++ for (const keyboardSegment of timeline.keyboardSegments) {+ keyboardSegment.start += diff(keyboardSegment.start);+ keyboardSegment.end += diff(keyboardSegment.end);+ }+segment.timescale = timescale;}),);