diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index 7d938f4..b5c23ac 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -16,6 +16,7 @@ import { CropControl } from "./CropControl"; import { KeyboardShortcutsHelp } from "./KeyboardShortcutsHelp"; import { AnnotationSettingsPanel } from "./AnnotationSettingsPanel"; import { type AspectRatio } from "@/utils/aspectRatioUtils"; +import type { ExportQuality } from "@/lib/exporter"; const WALLPAPER_COUNT = 18; const WALLPAPER_RELATIVE = Array.from({ length: WALLPAPER_COUNT }, (_, i) => `wallpapers/wallpaper${i + 1}.jpg`); @@ -67,6 +68,8 @@ interface SettingsPanelProps { onCropChange?: (region: CropRegion) => void; aspectRatio: AspectRatio; videoElement?: HTMLVideoElement | null; + exportQuality?: ExportQuality; + onExportQualityChange?: (quality: ExportQuality) => void; onExport?: () => void; selectedAnnotationId?: string | null; annotationRegions?: AnnotationRegion[]; @@ -109,6 +112,8 @@ export function SettingsPanel({ onCropChange, aspectRatio, videoElement, + exportQuality = 'good', + onExportQualityChange, onExport, selectedAnnotationId, annotationRegions = [], @@ -515,6 +520,20 @@ export function SettingsPanel({
+ {/* Export Quality Dropdown */} +
+ + +
+