mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
155f5c7299
commit
64536cd49b
1 file changed
+1
@@ -1314,6 +1314,7 @@ function syncCurrentPageFromScroll() {
|
|||||||
const nextIndex = Number.parseInt(shell.dataset.pageIndex, 10);
|
const nextIndex = Number.parseInt(shell.dataset.pageIndex, 10);
|
||||||
if (Number.isFinite(nextIndex) && nextIndex !== state.pageIndex) {
|
if (Number.isFinite(nextIndex) && nextIndex !== state.pageIndex) {
|
||||||
setCurrentPage(nextIndex);
|
setCurrentPage(nextIndex);
|
||||||
|
applyFit(false);
|
||||||
queueNearbyPages(nextIndex);
|
queueNearbyPages(nextIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user