mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
This commit is contained in:
1 parent
647f742d9c
commit
c4632b3418
2 files changed
+2
-2
No files matched your search
@@ -2515,7 +2515,7 @@ function updateControls() {
|
||||
el.nextButton.disabled = !hasDoc || state.pageIndex >= pageCount - 1;
|
||||
el.pageInput.disabled = !hasDoc;
|
||||
el.pageInput.max = String(pageCount || 1);
|
||||
el.pageInput.value = String(hasDoc ? state.pageIndex + 1 : 1);
|
||||
el.pageInput.value = String(hasDoc ? state.pageIndex + 1 : 0);
|
||||
el.zoomOutButton.disabled = !hasDoc || state.scale <= 0.2;
|
||||
el.zoomInButton.disabled = !hasDoc || state.scale >= 4;
|
||||
el.fitButton.disabled = !hasDoc;
|
||||
|
||||
Reference in new issue
Block a user