-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[XFA] - Avoid an exception when zooming on a XFA #15462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first I didn't understand why this happened, but then noticed this return value:
pdf.js/web/xfa_layer_builder.js
Lines 96 to 99 in d262ca3
if (this.div) { | |
return XfaLayer.update(parameters); | |
} |
and looking at that method things became clearer:
pdf.js/src/display/xfa_layer.js
Lines 268 to 277 in d262ca3
/** | |
* Update the XFA layer. | |
* | |
* @param {XfaLayerParameters} parameters | |
*/ | |
static update(parameters) { | |
const transform = `matrix(${parameters.viewport.transform.join(",")})`; | |
parameters.div.style.transform = transform; | |
parameters.div.hidden = false; | |
} |
/botio integration-test |
From: Bot.io (Windows)InvalidCommand not implemented: |
From: Bot.io (Linux m4)InvalidCommand not implemented: |
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/3e558ad848f319e/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/6c414754308648a/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/6c414754308648a/output.txt Total script time: 4.98 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/3e558ad848f319e/output.txt Total script time: 12.67 mins
|
No description provided.