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

moncef8118a0cf8917
diff --cc src/components/video-editor/SettingsPanel.tsx
index e45f4396a,daf5f4242..07922f339
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@@ -150,9 -218,9 +218,12 @@@ interface SettingsPanelProps
onWebcamLayoutPresetChange?: (preset: WebcamLayoutPreset) => void;
webcamMaskShape?: import("./types").WebcamMaskShape;
onWebcamMaskShapeChange?: (shape: import("./types").WebcamMaskShape) => void;
+ selectedZoomInDuration?: number;
+ selectedZoomOutDuration?: number;
+ onZoomDurationChange?: (zoomIn: number, zoomOut: number) => void;
+ webcamSizePreset?: WebcamSizePreset;
+ onWebcamSizePresetChange?: (size: WebcamSizePreset) => void;
+ onWebcamSizePresetCommit?: () => void;
}
export default SettingsPanel;
@@@ -233,9 -294,9 +304,12 @@@ export function SettingsPanel(
onWebcamLayoutPresetChange,
webcamMaskShape = "rectangle",
onWebcamMaskShapeChange,
+ selectedZoomInDuration,
+ selectedZoomOutDuration,
+ onZoomDurationChange,
+ webcamSizePreset = DEFAULT_WEBCAM_SIZE_PRESET,
+ onWebcamSizePresetChange,
+ onWebcamSizePresetCommit,
}: SettingsPanelProps) {
const t = useScopedT("settings");
const [wallpaperPaths, setWallpaperPaths] = useState<string[]>([]);