auto-save 2026-05-12 23:10 (~2)

This commit is contained in:
2026-05-12 23:10:55 +08:00
parent 020dfc9863
commit 3612d629c6
2 changed files with 13 additions and 1 deletions

View File

@@ -354,11 +354,16 @@ export function KeyframeNode({ data, selected }: any) {
key={f.index}
onClick={(e) => { e.stopPropagation(); d.onExpandFrame(f.index) }}
title={`${f.index + 1} 张 · ${f.timestamp.toFixed(1)}s · 点击放大`}
className={`group relative rounded-md border transition shadow-lg hover:-translate-y-0.5 aspect-video ${
className={`group relative rounded-md border transition shadow-lg hover:-translate-y-0.5 ${
isSel
? "border-emerald-400 ring-2 ring-emerald-400/60"
: "border-white/30 dark:border-white/20"
}`}
style={{
aspectRatio: d.job && d.job.height > 0
? `${d.job.width}/${d.job.height}`
: "16/9",
}}
>
<img
src={frameUrl(jobId, f.index)}