mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
XFA - Move xfa layer on top of the others (follow-up of #13706)
This commit is contained in:
parent
caaf77375f
commit
ff77acb357
1 changed files with 5 additions and 5 deletions
|
@ -496,11 +496,6 @@ class PDFPageView {
|
|||
div.appendChild(textLayerDiv);
|
||||
}
|
||||
|
||||
if (this.xfaLayer?.div) {
|
||||
// The xfa layer needs to stay on top.
|
||||
div.appendChild(this.xfaLayer.div);
|
||||
}
|
||||
|
||||
textLayer = this.textLayerFactory.createTextLayerBuilder(
|
||||
textLayerDiv,
|
||||
this.id - 1,
|
||||
|
@ -511,6 +506,11 @@ class PDFPageView {
|
|||
}
|
||||
this.textLayer = textLayer;
|
||||
|
||||
if (this.xfaLayer?.div) {
|
||||
// The xfa layer needs to stay on top.
|
||||
div.appendChild(this.xfaLayer.div);
|
||||
}
|
||||
|
||||
let renderContinueCallback = null;
|
||||
if (this.renderingQueue) {
|
||||
renderContinueCallback = cont => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue