diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsx
index b3bdb8d..685c468 100644
--- a/src/components/video-editor/VideoEditor.tsx
+++ b/src/components/video-editor/VideoEditor.tsx
@@ -1222,201 +1222,193 @@ export default function VideoEditor() {
{/* Left Column - Video & Timeline */}
-
-
- {/* Top section: video preview and controls */}
-
-
- {/* Video preview */}
-
-
-
0}
- shadowIntensity={shadowIntensity}
- showBlur={showBlur}
- motionBlurAmount={motionBlurAmount}
- borderRadius={borderRadius}
- padding={padding}
- cropRegion={cropRegion}
- trimRegions={trimRegions}
- speedRegions={speedRegions}
- annotationRegions={annotationRegions}
- selectedAnnotationId={selectedAnnotationId}
- onSelectAnnotation={handleSelectAnnotation}
- onAnnotationPositionChange={handleAnnotationPositionChange}
- onAnnotationSizeChange={handleAnnotationSizeChange}
- />
+
+
+
+ {/* Top section: video preview and controls */}
+
+
+ {/* Video preview */}
+
+
+ 0}
+ shadowIntensity={shadowIntensity}
+ showBlur={showBlur}
+ motionBlurAmount={motionBlurAmount}
+ borderRadius={borderRadius}
+ padding={padding}
+ cropRegion={cropRegion}
+ trimRegions={trimRegions}
+ speedRegions={speedRegions}
+ annotationRegions={annotationRegions}
+ selectedAnnotationId={selectedAnnotationId}
+ onSelectAnnotation={handleSelectAnnotation}
+ onAnnotationPositionChange={handleAnnotationPositionChange}
+ onAnnotationSizeChange={handleAnnotationSizeChange}
+ />
+
+
+ {/* Playback controls */}
+
- {/* Playback controls */}
-
-
+
+
+
+
+
+
+ {/* Timeline section */}
+
+
+ pushState({ aspectRatio: ar })}
+ />
-
-
+
+
+
-
-
-
+
+
+
- {/* Timeline section */}
-
-
- pushState({ aspectRatio: ar })}
- />
-
-
-
-
-
- {/* Right section: settings panel */}
-
pushState({ wallpaper: w })}
- selectedZoomDepth={
- selectedZoomId ? zoomRegions.find((z) => z.id === selectedZoomId)?.depth : null
- }
- onZoomDepthChange={(depth) => selectedZoomId && handleZoomDepthChange(depth)}
- selectedZoomId={selectedZoomId}
- onZoomDelete={handleZoomDelete}
- selectedTrimId={selectedTrimId}
- onTrimDelete={handleTrimDelete}
- shadowIntensity={shadowIntensity}
- onShadowChange={(v) => updateState({ shadowIntensity: v })}
- onShadowCommit={commitState}
- showBlur={showBlur}
- onBlurChange={(v) => pushState({ showBlur: v })}
- motionBlurAmount={motionBlurAmount}
- onMotionBlurChange={(v) => updateState({ motionBlurAmount: v })}
- onMotionBlurCommit={commitState}
- borderRadius={borderRadius}
- onBorderRadiusChange={(v) => updateState({ borderRadius: v })}
- onBorderRadiusCommit={commitState}
- padding={padding}
- onPaddingChange={(v) => updateState({ padding: v })}
- onPaddingCommit={commitState}
- cropRegion={cropRegion}
- onCropChange={(r) => pushState({ cropRegion: r })}
- aspectRatio={aspectRatio}
- videoElement={videoPlaybackRef.current?.video || null}
- exportQuality={exportQuality}
- onExportQualityChange={setExportQuality}
- exportFormat={exportFormat}
- onExportFormatChange={setExportFormat}
- gifFrameRate={gifFrameRate}
- onGifFrameRateChange={setGifFrameRate}
- gifLoop={gifLoop}
- onGifLoopChange={setGifLoop}
- gifSizePreset={gifSizePreset}
- onGifSizePresetChange={setGifSizePreset}
- gifOutputDimensions={calculateOutputDimensions(
- videoPlaybackRef.current?.video?.videoWidth || 1920,
- videoPlaybackRef.current?.video?.videoHeight || 1080,
- gifSizePreset,
- GIF_SIZE_PRESETS,
- )}
- onExport={handleOpenExportDialog}
- selectedAnnotationId={selectedAnnotationId}
- annotationRegions={annotationRegions}
- onAnnotationContentChange={handleAnnotationContentChange}
- onAnnotationTypeChange={handleAnnotationTypeChange}
- onAnnotationStyleChange={handleAnnotationStyleChange}
- onAnnotationFigureDataChange={handleAnnotationFigureDataChange}
- onAnnotationDelete={handleAnnotationDelete}
- onSaveProject={handleSaveProject}
- onLoadProject={handleLoadProject}
- selectedSpeedId={selectedSpeedId}
- selectedSpeedValue={
- selectedSpeedId
- ? (speedRegions.find((r) => r.id === selectedSpeedId)?.speed ?? null)
- : null
- }
- onSpeedChange={handleSpeedChange}
- onSpeedDelete={handleSpeedDelete}
- />
+ {/* Right section: settings panel */}
+
+ pushState({ wallpaper: w })}
+ selectedZoomDepth={
+ selectedZoomId ? zoomRegions.find((z) => z.id === selectedZoomId)?.depth : null
+ }
+ onZoomDepthChange={(depth) => selectedZoomId && handleZoomDepthChange(depth)}
+ selectedZoomId={selectedZoomId}
+ onZoomDelete={handleZoomDelete}
+ selectedTrimId={selectedTrimId}
+ onTrimDelete={handleTrimDelete}
+ shadowIntensity={shadowIntensity}
+ onShadowChange={(v) => updateState({ shadowIntensity: v })}
+ onShadowCommit={commitState}
+ showBlur={showBlur}
+ onBlurChange={(v) => pushState({ showBlur: v })}
+ motionBlurAmount={motionBlurAmount}
+ onMotionBlurChange={(v) => updateState({ motionBlurAmount: v })}
+ onMotionBlurCommit={commitState}
+ borderRadius={borderRadius}
+ onBorderRadiusChange={(v) => updateState({ borderRadius: v })}
+ onBorderRadiusCommit={commitState}
+ padding={padding}
+ onPaddingChange={(v) => updateState({ padding: v })}
+ onPaddingCommit={commitState}
+ cropRegion={cropRegion}
+ onCropChange={(r) => pushState({ cropRegion: r })}
+ aspectRatio={aspectRatio}
+ videoElement={videoPlaybackRef.current?.video || null}
+ exportQuality={exportQuality}
+ onExportQualityChange={setExportQuality}
+ exportFormat={exportFormat}
+ onExportFormatChange={setExportFormat}
+ gifFrameRate={gifFrameRate}
+ onGifFrameRateChange={setGifFrameRate}
+ gifLoop={gifLoop}
+ onGifLoopChange={setGifLoop}
+ gifSizePreset={gifSizePreset}
+ onGifSizePresetChange={setGifSizePreset}
+ gifOutputDimensions={calculateOutputDimensions(
+ videoPlaybackRef.current?.video?.videoWidth || 1920,
+ videoPlaybackRef.current?.video?.videoHeight || 1080,
+ gifSizePreset,
+ GIF_SIZE_PRESETS,
+ )}
+ onExport={handleOpenExportDialog}
+ selectedAnnotationId={selectedAnnotationId}
+ annotationRegions={annotationRegions}
+ onAnnotationContentChange={handleAnnotationContentChange}
+ onAnnotationTypeChange={handleAnnotationTypeChange}
+ onAnnotationStyleChange={handleAnnotationStyleChange}
+ onAnnotationFigureDataChange={handleAnnotationFigureDataChange}
+ onAnnotationDelete={handleAnnotationDelete}
+ onSaveProject={handleSaveProject}
+ onLoadProject={handleLoadProject}
+ selectedSpeedId={selectedSpeedId}
+ selectedSpeedValue={
+ selectedSpeedId
+ ? (speedRegions.find((r) => r.id === selectedSpeedId)?.speed ?? null)
+ : null
+ }
+ onSpeedChange={handleSpeedChange}
+ onSpeedDelete={handleSpeedDelete}
+ />
+
+