mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
This commit is contained in:
1 parent
8d26471b1e
commit
f0d204d0e9
1 file changed
+1
-1
@@ -244,7 +244,7 @@ function syncLayoutMode(event) {
|
|||||||
function resizeViewer() {
|
function resizeViewer() {
|
||||||
if (state.doc) {
|
if (state.doc) {
|
||||||
applyFit(false);
|
applyFit(false);
|
||||||
if (state.fitMode === "height") {
|
if (state.fitMode !== "free") {
|
||||||
scrollToPage(state.pageIndex);
|
scrollToPage(state.pageIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user