diff --git a/.memory/worklog.json b/.memory/worklog.json index 7f0490b..658a1bd 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1629,6 +1629,19 @@ "message": "auto-save 2026-05-13 13:59 (~2)", "hash": "c026ab5", "files_changed": 2 + }, + { + "ts": "2026-05-13T14:05:14+08:00", + "type": "commit", + "message": "auto-save 2026-05-13 14:05 (~2)", + "hash": "43b96b8", + "files_changed": 2 + }, + { + "ts": "2026-05-13T06:07:39Z", + "type": "session-heartbeat", + "message": "Claude 会话活跃 · 最近命令:claude · 1 项未提交变更 · 最近提交:auto-save 2026-05-13 14:05 (~2)", + "files_changed": 1 } ] } diff --git a/web/components/storyboard-bar.tsx b/web/components/storyboard-bar.tsx index 6fd0e23..eee3ae2 100644 --- a/web/components/storyboard-bar.tsx +++ b/web/components/storyboard-bar.tsx @@ -110,44 +110,35 @@ export function StoryboardBar({ job, selectedFrames, onOpenStoryboard }: Props) ) )} - {/* Hover 大图预览 · portal 到 body 避免父容器 overflow clip · 跟关键帧节点 hover 同尺寸 */} - {mounted && hover && (() => { - // 预览宽度按视口动态算,最大 720(跟 KEYFRAME hover 一致) - const previewMaxWidth = Math.min(720, window.innerWidth * 0.8) - const halfW = previewMaxWidth / 2 - const centerX = hover.rect.left + hover.rect.width / 2 - const clampedLeft = Math.max(12, Math.min(window.innerWidth - previewMaxWidth - 12, centerX - halfW)) - return createPortal( -