Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

Merge branch 'main' into adjust-zoom-speed

moncefe8d6fe3d1bbf
diff --cc src/components/video-editor/timeline/Item.tsx
index 27a481527,d2d029872..d89de941a
--- a/src/components/video-editor/timeline/Item.tsx
+++ b/src/components/video-editor/timeline/Item.tsx
@@@ -18,11 -13,8 +18,11 @@@ interface ItemProps
isSelected?: boolean;
onSelect?: () => void;
zoomDepth?: number;
+ zoomInDurationMs?: number;
+ zoomOutDurationMs?: number;
speedValue?: number;
- variant?: "zoom" | "trim" | "annotation" | "speed";
+ onZoomDurationChange?: (id: string, zoomIn: number, zoomOut: number) => void;
+ variant?: "zoom" | "trim" | "annotation" | "speed" | "blur";
}
// Map zoom depth to multiplier labels
diff --cc src/components/video-editor/timeline/TimelineEditor.tsx
index 72f140b43,5ef8c7b65..61a81908b
--- a/src/components/video-editor/timeline/TimelineEditor.tsx
+++ b/src/components/video-editor/timeline/TimelineEditor.tsx
@@@ -97,9 -103,7 +104,9 @@@ interface TimelineRenderItem
label: string;
zoomDepth?: number;
speedValue?: number;
+ zoomInDurationMs?: number;
+ zoomOutDurationMs?: number;
- variant: "zoom" | "trim" | "annotation" | "speed";
+ variant: "zoom" | "trim" | "annotation" | "speed" | "blur";
}
const SCALE_CANDIDATES = [
@@@ -532,8 -537,8 +540,9 @@@ function Timeline(
selectedZoomId,
selectedTrimId,
selectedAnnotationId,
+ selectedBlurId,
selectedSpeedId,
+ onZoomDurationChange,
keyframes = [],
}: {
items: TimelineRenderItem[];
@@@ -548,8 -554,8 +558,9 @@@
selectedZoomId: string | null;
selectedTrimId?: string | null;
selectedAnnotationId?: string | null;
+ selectedBlurId?: string | null;
selectedSpeedId?: string | null;
+ onZoomDurationChange: (id: string, zoomIn: number, zoomOut: number) => void;
keyframes?: { id: string; time: number }[];
}) {
const t = useScopedT("timeline");
@@@ -1504,8 -1592,8 +1603,9 @@@ export default function TimelineEditor(
selectedZoomId={selectedZoomId}
selectedTrimId={selectedTrimId}
selectedAnnotationId={selectedAnnotationId}
+ selectedBlurId={selectedBlurId}
selectedSpeedId={selectedSpeedId}
+ onZoomDurationChange={onZoomDurationChange}
keyframes={keyframes}
/>
</TimelineWrapper>