mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
This commit is contained in:
1 parent
3ba9317cf3
commit
81e6657c65
8 files changed
+337
-80
No files matched your search
@@ -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`;
|
||||
|
||||
Reference in new issue
Block a user