fix: optimize ArtifactListImpl

This commit is contained in:
tao.chen
2026-08-20 20:29:22 +08:00
parent 05c2157c4a
commit 3dc049f46e
3 changed files with 45 additions and 8 deletions
+4 -4
View File
@@ -294,10 +294,10 @@
background: #fff;
cursor: grab;
user-select: none;
transition:
transform .15s ease,
box-shadow .15s ease,
border-color .15s ease;
/* hover 效果(border / box-shadow / transform)全部走合成层友好的属性,
但禁止 transition:box-shadow 是 paint 操作,在 20+ 张卡片上快速
划过鼠标会触发频繁重绘,导致悬浮卡顿;拖动时也会让 drag image 变重、
视觉上"粘"在半动画上。直接瞬变,干净利落。 */
}
.artifact-card:hover {