diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index 7e9a29c..9808871 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -145,8 +145,8 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth, }; return ( -
-
+
+
Zoom Level {zoomEnabled && selectedZoomDepth && ( @@ -194,7 +194,7 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth, )}
-
+
Drop Shadow
-
+
-
+
{/* Custom Images */} {customImages.map((imageUrl, idx) => { const isSelected = selected === imageUrl; @@ -300,10 +300,10 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth,
); @@ -325,25 +325,22 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth, {(wallpaperPaths.length > 0 ? wallpaperPaths : WALLPAPER_RELATIVE.map(p => `/${p}`)).map((path, idx) => { const isSelected = (() => { if (!selected) return false; - if (selected === path) return true; try { const clean = (s: string) => s.replace(/^file:\/\//, '').replace(/^\//, '') if (clean(selected).endsWith(clean(path))) return true; if (clean(path).endsWith(clean(selected))) return true; - } catch { - } + } catch {} return false; })(); - return (
-
+
{GRADIENTS.map((g, idx) => (
- {/* Drag region for window - more padding on macOS for traffic lights */}
-
{/* Left Column - Video & Timeline */}
- {/* Video Preview Area */} -
-
- {/* Video Container - Fixed aspect ratio */} -
{/* 16:9 aspect ratio */} -
-
- -
-
+ {/* Top section: video preview and controls */} +
+ {/* Video preview */} +
+
+
- - {/* Playback Controls - Below video */} -
+
+ {/* Playback controls */} +
+
- {/* Timeline Area */} + {/* Timeline section */}
- {/* Right Column - Settings */} + {/* Right section: settings panel */}