mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
@@ -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