AI media harness for planning, generating, and editing locally
TypeScript
Fix Motion thumbnail layout
Bittif9abcd3b0ffd
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.mdindex 8dbd774..f81c59a 100644--- a/RELEASE_NOTES.md+++ b/RELEASE_NOTES.md@@ -21,6 +21,7 @@ Changes since 0.3.2.## Fixes and improvements+- Corrected Motion thumbnail sizing and title/duration alignment in the Timeline's list and grid layouts.- Send additional agent messages while it is working; queued messages join its context when the current call or generation finishes.- Limited generation progress updates to keep music playback controls responsive during song generation.- Unavailable Generate buttons use a neutral background with readable text in both themes.diff --git a/src/components/workspace/MediaThumbnail.tsx b/src/components/workspace/MediaThumbnail.tsxindex 1dd1c5e..b8aa9f3 100644--- a/src/components/workspace/MediaThumbnail.tsx+++ b/src/components/workspace/MediaThumbnail.tsx@@ -290,5 +290,7 @@ function FileMediaThumbnail({ folderPath, asset, onMeasured, posterTimeSeconds =}export function MediaThumbnail(props: React.ComponentProps<typeof FileMediaThumbnail>) {- return props.asset.motion ? <MotionCanvas motion={props.asset.motion} time={0} /> : <FileMediaThumbnail {...props} />;+ return props.asset.motion ? <span className="media-thumb media-thumb--motion">+ <MotionCanvas motion={props.asset.motion} time={0} />+ </span> : <FileMediaThumbnail {...props} />;}diff --git a/src/styles/timeline.css b/src/styles/timeline.cssindex 9343eb8..7063cba 100644--- a/src/styles/timeline.css+++ b/src/styles/timeline.css@@ -370,6 +370,17 @@padding: 0;}+.media-thumb--motion { position: relative; }++.media-thumb--motion .motion-canvas {+ display: block;+ width: 100%;+ height: 100%;+ min-width: 0;+ min-height: 0;+ object-fit: contain;+}+.media-thumb--poster img {width: 100%;height: 100%;@@ -1761,7 +1772,6 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }/* Motions share the media layout and preserve transparent backgrounds. */.program-layer > .motion-canvas { width: 100%; height: 100%; object-fit: contain; }-.media-card .motion-canvas { width: 100%; height: 100%; max-height: 140px; object-fit: contain; }.motion-source { width: 100%; min-height: 280px; resize: vertical; font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.5; white-space: pre; tab-size: 2; }.motion-edit-surface { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5; pointer-events: none; }.motion-handles { position: absolute; inset: 0; pointer-events: none; }