feat(前端界面): 修复切换页面栏、信息栏时阅读位置跳页的问题
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-09 12:03:32 +08:00
1 parent 8d26471b1e
commit f0d204d0e9
1 file changed
+1 -1
+1 -1
View File
@@ -244,7 +244,7 @@ function syncLayoutMode(event) {
function resizeViewer() {
if (state.doc) {
applyFit(false);
if (state.fitMode === "height") {
if (state.fitMode !== "free") {
scrollToPage(state.pageIndex);
}
}