mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #9215 from Snuffleupagus/lower-MIN_SCALE
Lower the `MIN_SCALE` threshold to `0.10` (i.e. 10%) in the viewer, for better compatibility with documents containing very large pages
This commit is contained in:
commit
bfa227a502
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import { createPromiseCapability, PDFJS } from 'pdfjs-lib';
|
|||
const CSS_UNITS = 96.0 / 72.0;
|
||||
const DEFAULT_SCALE_VALUE = 'auto';
|
||||
const DEFAULT_SCALE = 1.0;
|
||||
const MIN_SCALE = 0.25;
|
||||
const MIN_SCALE = 0.10;
|
||||
const MAX_SCALE = 10.0;
|
||||
const UNKNOWN_SCALE = 0;
|
||||
const MAX_AUTO_SCALE = 1.25;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue