mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Correctly order added annotations when saving or printing
- the annotations must be rendered in the same order as the chronological one. - fix a bug in document.js which avoids to read a saved pdf correctly in Acrobat: there is no need to reset the xref state: it's done in worker.js once everything has been saved.
This commit is contained in:
parent
c5dc082da4
commit
e49d039853
3 changed files with 7 additions and 24 deletions
|
@ -314,7 +314,6 @@ class Page {
|
|||
...newData.annotations
|
||||
);
|
||||
|
||||
this.xref.resetNewRef();
|
||||
return objects;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue