feat: modal-based video source picker with project clip grid
The native select was too cramped for a project with many clips. Replace it with a wide modal (Auto / Upload file / clip grid with thumbnails). Clip options now cover any scene in the timeline, not just earlier ones, and uploads wire through a hidden input. Also fix the Choose-Video modal rendering blank under Clips/Uploads tabs: duplicate asset paths crashed Svelte's keyed each mid-render — dedupe by path and clamp the active tab when a tile's kind changes.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
interface Props {
|
||||
open?: boolean;
|
||||
title?: string;
|
||||
size?: 'md' | 'lg';
|
||||
size?: 'md' | 'lg' | 'xl';
|
||||
dismissible?: boolean;
|
||||
onclose?: () => void;
|
||||
footer?: Snippet;
|
||||
@@ -163,6 +163,9 @@
|
||||
.modal-panel.size-lg {
|
||||
width: min(920px, 100%);
|
||||
}
|
||||
.modal-panel.size-xl {
|
||||
width: min(1180px, 100%);
|
||||
}
|
||||
.modal-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user