Skip to content

Commit

Permalink
Switch to page-scrolling mode when the pdf has more than 10000 pages …
Browse files Browse the repository at this point in the history
…(bug 1895050)
  • Loading branch information
calixteman committed May 30, 2024
1 parent 24e12d5 commit f3b2d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pdf_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import { SimpleLinkService } from "./pdf_link_service.js";
const DEFAULT_CACHE_SIZE = 10;

const PagesCountLimit = {
FORCE_SCROLL_MODE_PAGE: 15000,
FORCE_SCROLL_MODE_PAGE: 10000,
FORCE_LAZY_PAGE_INIT: 7500,
PAUSE_EAGER_PAGE_INIT: 250,
};
Expand Down

0 comments on commit f3b2d9c

Please sign in to comment.