Skip to content

Commit

Permalink
Merge pull request #18189 from calixteman/bug1895050
Browse files Browse the repository at this point in the history
Switch to page-scrolling mode when the pdf has more than 10000 pages (bug 1895050)
  • Loading branch information
calixteman authored May 31, 2024
2 parents 4d9c25a + 018649f commit 309d940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/pdf_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 309d940

Please sign in to comment.