diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index 3d546d0..aa26039 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -130,6 +130,8 @@ interface SettingsPanelProps { onSaveProject?: () => void; onLoadProject?: () => void; onExport?: () => void; + unsavedExport?: { arrayBuffer: ArrayBuffer; fileName: string; format: string } | null; + onSaveUnsavedExport?: () => void; selectedAnnotationId?: string | null; annotationRegions?: AnnotationRegion[]; onAnnotationContentChange?: (id: string, content: string) => void; @@ -198,6 +200,8 @@ export function SettingsPanel({ onSaveProject, onLoadProject, onExport, + unsavedExport, + onSaveUnsavedExport, selectedAnnotationId, annotationRegions = [], onAnnotationContentChange, @@ -1150,6 +1154,17 @@ export function SettingsPanel({ + {unsavedExport && ( + + )}