mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
parent
06aef89502
commit
e0b843d991
4 changed files with 13 additions and 0 deletions
|
@ -3684,6 +3684,10 @@ class LinkAnnotation extends Annotation {
|
|||
const { dict, annotationGlobals } = params;
|
||||
this.data.annotationType = AnnotationType.LINK;
|
||||
|
||||
// A link is never rendered on the main canvas so we must render its HTML
|
||||
// version.
|
||||
this.data.noHTML = false;
|
||||
|
||||
const quadPoints = getQuadPoints(dict, this.rectangle);
|
||||
if (quadPoints) {
|
||||
this.data.quadPoints = quadPoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue