mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #16256 from Snuffleupagus/issue-16254
Tweak the `--scale-factor` CSS-variable warning threshold (issue 16254)
This commit is contained in:
commit
08c8d310d3
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ function renderTextLayer(params) {
|
|||
|
||||
if (
|
||||
visibility === "visible" &&
|
||||
(!scaleFactor || Math.abs(scaleFactor - viewport.scale) > 1e-15)
|
||||
(!scaleFactor || Math.abs(scaleFactor - viewport.scale) > 1e-5)
|
||||
) {
|
||||
console.error(
|
||||
"The `--scale-factor` CSS-variable must be set, " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue