diff --git a/src/components/ThumbnailStrip.tsx b/src/components/ThumbnailStrip.tsx index 7b5a1206..a6f856bb 100644 --- a/src/components/ThumbnailStrip.tsx +++ b/src/components/ThumbnailStrip.tsx @@ -77,9 +77,15 @@ export default function ThumbnailStrip({ for (let t = 0; t <= duration; t += intervalSeconds) { times.push(Math.min(t, duration - 0.1)); } + clean-console-log-fix + const lastTime = times[times.length - 1]; + + + if ((times[times.length - 1] ?? 0) < duration - 0.5) { times.push(duration - 0.1); } + main const captured: Thumbnail[] = []; diff --git a/src/components/VideoEditor.tsx b/src/components/VideoEditor.tsx index db5c3793..7683473f 100644 --- a/src/components/VideoEditor.tsx +++ b/src/components/VideoEditor.tsx @@ -64,6 +64,11 @@ function KeyboardShortcutsPanel() { const [open, setOpen] = useState(false); const shortcuts: { keys: React.ReactNode[]; label: string }[] = [ +clean-console-log-fix + { keys: [M], label: "Toggle audio mute" }, + { keys: [Ctrl, +, ↵], label: "Export video" }, + ]; + { keys: [ Ctrl, @@ -95,6 +100,7 @@ function KeyboardShortcutsPanel() { label: "Toggle this panel", }, ]; +main return (