Switch to page-scrolling mode when the pdf has more than 10000 pages (bug 1895050)
This commit is contained in:
parent
4d9c25a41a
commit
018649f13b
@ -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…
x
Reference in New Issue
Block a user