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:
parent
a37f7d2477
commit
0116a8f484
8 changed files with 459 additions and 39 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue