diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index 78d6bb4..f21f018 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -221,9 +221,6 @@ 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; @@ -240,13 +237,6 @@ const ZOOM_DEPTH_OPTIONS: Array<{ depth: ZoomDepth; label: string }> = [ { depth: 6, label: "5×" }, ]; -const ZOOM_SPEED_OPTIONS = [ - { label: "Instant", zoomIn: 0, zoomOut: 0 }, - { label: "Fast", zoomIn: 500, zoomOut: 350 }, - { label: "Smooth", zoomIn: 1522, zoomOut: 1015 }, - { label: "Lazy", zoomIn: 3000, zoomOut: 2000 }, -]; - export function SettingsPanel({ selected, onWallpaperChange, @@ -313,9 +303,6 @@ export function SettingsPanel({ onWebcamLayoutPresetChange, webcamMaskShape = "rectangle", onWebcamMaskShapeChange, - selectedZoomInDuration, - selectedZoomOutDuration, - onZoomDurationChange, webcamSizePreset = DEFAULT_WEBCAM_SIZE_PRESET, onWebcamSizePresetChange, onWebcamSizePresetCommit, @@ -649,39 +636,6 @@ export function SettingsPanel({ )} )} - - {zoomEnabled && ( -
- - {t("zoom.speed.title") || "Zoom Speed"} - -
- {ZOOM_SPEED_OPTIONS.map((opt) => { - const isActive = - selectedZoomInDuration !== undefined && - selectedZoomOutDuration !== undefined && - Math.round(selectedZoomInDuration) === Math.round(opt.zoomIn) && - Math.round(selectedZoomOutDuration) === Math.round(opt.zoomOut); - return ( - - ); - })} -
-
- )} {zoomEnabled && (