Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

style(editor): update caption track icon and empty state text

Richie McIlroy315cafeb232c
diff --git a/apps/desktop/src/routes/editor/Timeline/CaptionsTrack.tsx b/apps/desktop/src/routes/editor/Timeline/CaptionsTrack.tsx
index f950260bb..5790ecd7e 100644
--- a/apps/desktop/src/routes/editor/Timeline/CaptionsTrack.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/CaptionsTrack.tsx
@@ -135,7 +135,7 @@ export function CaptionsTrack(props: {
<div class="text-center text-sm text-[--text-tertiary] flex flex-col justify-center items-center inset-0 w-full bg-gray-3/20 dark:bg-gray-3/10 rounded-xl pointer-events-none">
<div>No captions</div>
<div class="text-[10px] text-[--text-tertiary]/40 mt-0.5">
- Generate captions in the sidebar
+ Generate captions in the Captions tab
</div>
</div>
}
diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsx
index 9df302a75..62b08861a 100644
--- a/apps/desktop/src/routes/editor/Timeline/index.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx
@@ -38,7 +38,7 @@ const trackIcons: Record<TimelineTrackType, JSX.Element> = {
mask: <IconLucideBoxSelect class="size-4" />,
zoom: <IconLucideSearch class="size-4" />,
scene: <IconLucideVideo class="size-4" />,
- caption: <IconLucideSubtitles class="size-4" />,
+ caption: <IconLucideCaptions class="size-4" />,
keyboard: <IconLucideKeyboard class="size-4" />,
};