Handle appending consistently in the xfaLayer regardless of rendering intent (PR 17177 follow-up)

After PR 17177 the interface of `XfaLayerBuilder` is now inconsistent, since whether or not we directly append the xfaLayer to the DOM now depends on the rendering intent.
This commit is contained in:
Jonas Jenwald 2023-10-26 12:05:33 +02:00
parent fbfacf8828
commit 097f214222
3 changed files with 3 additions and 8 deletions

View file

@ -1026,7 +1026,6 @@ class PDFPageView {
const { annotationStorage, linkService } = this.#layerProperties;
this.xfaLayer = new XfaLayerBuilder({
pageDiv: div,
pdfPage,
annotationStorage,
linkService,