fix: post-smoke-test polish — preserve playhead, clip list redesign, play-clip action, 1100x750 default

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 17:15:28 -04:00
parent 279e27a9b5
commit 124542b4c4
6 changed files with 290 additions and 43 deletions

View File

@@ -279,6 +279,15 @@
case 'delete-clip':
if (clipStore.selectedClipId) removeClip(clipStore.selectedClipId);
break;
case 'play-clip': {
const clip = clipStore.clips.find((c) => c.id === clipStore.selectedClipId);
if (clip) {
seekTo(clip.startTime);
const videoEl = document.querySelector('video');
if (videoEl?.paused) videoEl.play();
}
break;
}
default: {
const _exhaustive: never = action;
void _exhaustive;