Merge pull request #13710 from calixteman/13706_f_up
XFA - Move xfa layer on top of the others (follow-up of #13706)
This commit is contained in:
commit
f7cb8b4bdd
@ -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…
Reference in New Issue
Block a user