1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[Editor] Don't forget to generate non-missing images when printing (bug 1844036)

This commit is contained in:
Calixte Denizet 2023-07-18 15:39:18 +02:00
parent 43fc78899f
commit 7ac3bf6f17
3 changed files with 70 additions and 4 deletions

View file

@ -450,7 +450,7 @@ class Page {
const { isOffscreenCanvasSupported } = this.evaluatorOptions;
if (missingBitmaps.size > 0) {
const annotationWithBitmaps = [];
const annotationWithBitmaps = newAnnotations.slice();
for (const [key, annotation] of annotationStorage) {
if (!key.startsWith(AnnotationEditorPrefix)) {
continue;