mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
Don't print hidden annotatons (bug 1815196)
and handle correctly the NoView and NoPrint flags when they're changed from JS.
This commit is contained in:
parent
0e6d141edf
commit
71960bea64
9 changed files with 124 additions and 18 deletions
|
@ -556,7 +556,8 @@ class Page {
|
|||
for (const annotation of annotations) {
|
||||
if (
|
||||
intentAny ||
|
||||
(intentDisplay && annotation.mustBeViewed(annotationStorage)) ||
|
||||
(intentDisplay &&
|
||||
annotation.mustBeViewed(annotationStorage, renderForms)) ||
|
||||
(intentPrint && annotation.mustBePrinted(annotationStorage))
|
||||
) {
|
||||
opListPromises.push(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue