Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

don't show layout track if camera is hidden (#938)

Ameer Al Ashhaba76f49ea4755
diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsx
index 7c02b59c7..6c466d5dc 100644
--- a/apps/desktop/src/routes/editor/Timeline/index.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx
@@ -241,7 +241,7 @@ export function Timeline() {
}}
handleUpdatePlayhead={handleUpdatePlayhead}
/>
- <Show when={meta().hasCamera}>
+ <Show when={meta().hasCamera && !project.camera.hide}>
<LayoutTrack
onDragStateChanged={(v) => {
layoutSegmentDragState = v;