feat(后端架构): 完善后端扩展与字体资源解耦,修复元数据保存和缩略图底边
build.yaml / build (push) Successful in 41s

This commit is contained in:
xiaoqidun committed 2026-09-24 10:13:54 +08:00
1 parent 3ba9317cf3
commit 81e6657c65
8 files changed
+337 -80

No files matched your search

+1 -1
View File
@@ -5714,7 +5714,7 @@ function layoutThumbnails() {
}
view.offsets = offsets;
view.gap = 12;
view.total = Math.max(0, offsets.at(-1) - 12);
view.total = Math.ceil(offsets.at(-1));
for (const [index, button] of view.nodes) {
layoutThumbnail(button, state.doc.pages[index]);
button.style.height = `${offsets[index + 1] - offsets[index] - 12}px`;