auto-save 2026-05-14 02:52 (~4)

This commit is contained in:
2026-05-14 02:53:06 +08:00
parent b5d8eb19a1
commit 3ab9da094a
4 changed files with 177 additions and 49 deletions

View File

@@ -815,6 +815,18 @@ api/main.py
<h2>变更记录</h2>
<p>这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。</p>
<div class="changelog">
<article class="change">
<header>
<h3>2026-05-14 · 大图预览改为尺寸感知 Fit / 1:1</h3>
<span class="tag violet">Canvas</span>
<span class="tag blue">HoverPreview</span>
</header>
<div class="body">
<p><strong>问题:</strong>有些源视频和图片分辨率很大,完全按原尺寸展示会撑爆画布;但统一固定预览大小又会丢失素材真实尺寸感知。</p>
<p><strong>改动:</strong><code>HoverPreview</code> 默认按原比例适应可视区域,角标显示原始分辨率和当前 Fit 百分比;点击钉住后可切换到 <code>1:1</code>,超大素材在预览框内滚动查看局部。</p>
<p><strong>影响:</strong><code>web/components/nodes/hover-preview.tsx</code>。视觉缩略图高度同步放大,图片缩略图的复制 / 删除按钮改为常驻大号 icon。</p>
</div>
</article>
<article class="change">
<header>
<h3>2026-05-14 · 缩略图滑动条改为大号可拖轨道</h3>