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

@@ -433,6 +433,13 @@
"message": "auto-save 2026-05-12 22:59 (~1)", "message": "auto-save 2026-05-12 22:59 (~1)",
"hash": "586f399", "hash": "586f399",
"files_changed": 1 "files_changed": 1
},
{
"ts": "2026-05-12T23:05:23+08:00",
"type": "commit",
"message": "auto-save 2026-05-12 23:05 (~1)",
"hash": "020dfc9",
"files_changed": 1
} }
] ]
} }

View File

@@ -354,11 +354,16 @@ export function KeyframeNode({ data, selected }: any) {
key={f.index} key={f.index}
onClick={(e) => { e.stopPropagation(); d.onExpandFrame(f.index) }} onClick={(e) => { e.stopPropagation(); d.onExpandFrame(f.index) }}
title={`${f.index + 1} 张 · ${f.timestamp.toFixed(1)}s · 点击放大`} 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 isSel
? "border-emerald-400 ring-2 ring-emerald-400/60" ? "border-emerald-400 ring-2 ring-emerald-400/60"
: "border-white/30 dark:border-white/20" : "border-white/30 dark:border-white/20"
}`} }`}
style={{
aspectRatio: d.job && d.job.height > 0
? `${d.job.width}/${d.job.height}`
: "16/9",
}}
> >
<img <img
src={frameUrl(jobId, f.index)} src={frameUrl(jobId, f.index)}