mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +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);
|
||||
if (Number.isFinite(nextIndex) && nextIndex !== state.pageIndex) {
|
||||
setCurrentPage(nextIndex);
|
||||
applyFit(false);
|
||||
queueNearbyPages(nextIndex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user