1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

XFA - Keep xfa layer on top of the others (bug 1719629)

This commit is contained in:
Calixte Denizet 2021-07-09 18:18:22 +02:00
parent 0afc785c7d
commit 1b77888400

View file

@ -496,6 +496,11 @@ 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,