Merge pull request #16256 from Snuffleupagus/issue-16254

Tweak the `--scale-factor` CSS-variable warning threshold (issue 16254)
This commit is contained in:
Jonas Jenwald 2023-04-06 15:47:55 +02:00 committed by GitHub
commit 08c8d310d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, " +