From ca0d6f1bfdeb7e97a3505fa610696c2189b95e28 Mon Sep 17 00:00:00 2001 From: kang Date: Tue, 12 May 2026 20:04:48 +0800 Subject: [PATCH] auto-save 2026-05-12 20:04 (~3) --- .memory/worklog.json | 7 +++ web/components/lightbox.tsx | 19 +++---- web/components/nodes/index.tsx | 90 ++++++++++++++++++++++++---------- 3 files changed, 77 insertions(+), 39 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index 6d79137..264ff27 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -286,6 +286,13 @@ "message": "auto-save 2026-05-12 19:53 (~2)", "hash": "c481da4", "files_changed": 2 + }, + { + "ts": "2026-05-12T19:59:15+08:00", + "type": "commit", + "message": "auto-save 2026-05-12 19:58 (+1, ~4)", + "hash": "375494e", + "files_changed": 5 } ] } diff --git a/web/components/lightbox.tsx b/web/components/lightbox.tsx index d86ae62..a253cf4 100644 --- a/web/components/lightbox.tsx +++ b/web/components/lightbox.tsx @@ -1,7 +1,7 @@ "use client" import { useEffect } from "react" import { X, ChevronLeft, ChevronRight, Check } from "lucide-react" -import { frameUrl, videoUrl, type KeyFrame } from "@/lib/api" +import { frameUrl, type KeyFrame } from "@/lib/api" interface Props { jobId: string @@ -65,19 +65,12 @@ export function FrameLightbox({ jobId, frames, activeIndex, selected, onClose, o )} - {/* 大视频 — 可拖时间轴播放(默认 seek 到该帧时间点) */} + {/* 大图 — 关键帧是静态素材(传给生图节点垫图用),不播放视频 */}
e.stopPropagation()} className="flex flex-col items-center gap-4 max-w-[92vw] max-h-[92vh]"> -