Files
image-workbench-desktop/plugins/gallery/manifest.json
T
qiqi aefed6935b
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 32s
perf(gallery): 1.9.2 拖动路径再瘦身——列数滞回、滚动容器/内边距缓存、缩略图缓存上限
- 列数滞回:切换阈值 ±12px 内保持原列数,避免拖动时 3/4 列来回跳(每次跳都要整轮重排)
- scrollerOf() 缓存滚动容器、usableW() 缓存内边距:原来每帧都 getComputedStyle,会强制样式重算
- 缩略图缓存加 FIFO 上限 400:200+ 张来回滚不会把 objectURL 一直攒在内存里
2026-11-28 07:53:57 +08:00

20 lines
526 B
JSON

{
"id": "gallery",
"name": "图库",
"version": "1.9.2",
"apiVersion": 1,
"main": "main.js",
"style": "styles.css",
"description": "右栏图片墙:筛选/多选/双击预览/插入画布/下载/删除(数据由客户端提供)",
"author": "official",
"icon": "🖼️",
"tags": [
"资源",
"图库"
],
"files": {
"main.js": "c0103fcc9cb92fac3aecdabba7ef60af1fb935375d3670f30b1d6dce4231e73f",
"styles.css": "945fd547278cf0388035b22660dfe9401dc0c8d25919fe6204471432e5797cde"
}
}