Merge pull request #19574 from Snuffleupagus/autolinking-xfa-disable
Don't attempt to use auto-linking in XFA documents (PR 19110 follow-up)
This commit is contained in:
commit
6e1cfa20d1
@ -1064,7 +1064,7 @@ class PDFPageView extends BasePDFPageView {
|
|||||||
if (this.annotationLayer) {
|
if (this.annotationLayer) {
|
||||||
await this.#renderAnnotationLayer();
|
await this.#renderAnnotationLayer();
|
||||||
|
|
||||||
if (this.#enableAutoLinking && this.annotationLayer) {
|
if (this.#enableAutoLinking && this.annotationLayer && this.textLayer) {
|
||||||
await this.#injectLinkAnnotations(textLayerPromise);
|
await this.#injectLinkAnnotations(textLayerPromise);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user