1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

[Editor] Allow to edit FreeText annotations

This commit is contained in:
Calixte Denizet 2023-06-06 17:18:02 +02:00
parent a37f7d2477
commit 0116a8f484
8 changed files with 459 additions and 39 deletions

View file

@ -3553,7 +3553,7 @@ class FreeTextAnnotation extends MarkupAnnotation {
constructor(params) {
super(params);
this.data.hasOwnCanvas = this.data.noRotate;
this.data.hasOwnCanvas = true;
const { xref } = params;
this.data.annotationType = AnnotationType.FREETEXT;