mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Switch to page-scrolling mode when the pdf has more than 10000 pages (bug 1895050)
This commit is contained in:
parent
4d9c25a41a
commit
018649f13b
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ import { SimpleLinkService } from "./pdf_link_service.js";
|
|||
const DEFAULT_CACHE_SIZE = 10;
|
||||
|
||||
const PagesCountLimit = {
|
||||
FORCE_SCROLL_MODE_PAGE: 15000,
|
||||
FORCE_LAZY_PAGE_INIT: 7500,
|
||||
FORCE_SCROLL_MODE_PAGE: 10000,
|
||||
FORCE_LAZY_PAGE_INIT: 5000,
|
||||
PAUSE_EAGER_PAGE_INIT: 250,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue