Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(editor): move transition imports to module scope

Richie McIlroy77a2e03bc64b
diff --git a/apps/desktop/src/routes/editor/timeline-utils.ts b/apps/desktop/src/routes/editor/timeline-utils.ts
index 95ec540d8..d96c51672 100644
--- a/apps/desktop/src/routes/editor/timeline-utils.ts
+++ b/apps/desktop/src/routes/editor/timeline-utils.ts
@@ -1,3 +1,11 @@
+import {
+ type ClipTransition,
+ clipTimelineDuration,
+ clipTimelineOffsets,
+ transitionsAfterClipDelete,
+ transitionsAfterClipSplit,
+} from "./clip-transitions";
+
export function shiftTimeAfterCut(
time: number,
cutStart: number,
@@ -253,11 +261,3 @@ if (import.meta.vitest) {
]);
});
}
-
-import {
- type ClipTransition,
- clipTimelineDuration,
- clipTimelineOffsets,
- transitionsAfterClipDelete,
- transitionsAfterClipSplit,
-} from "./clip-transitions";