mirror of
https://github.com/zotero/zotero.git
synced 2026-09-19 00:01:31 +00:00
Render ink annotation images when previewing attachment annotations
This commit is contained in:
parent
e4a21b174f
commit
e3ae991bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@
|
|||
let imageAnnotationRendered = false;
|
||||
for (let annotation of this._annotationItems) {
|
||||
if (!imageAnnotationRendered
|
||||
&& annotation.annotationType === 'image'
|
||||
&& ['image', 'ink'].includes(annotation.annotationType)
|
||||
&& !await Zotero.Annotations.hasCacheImage(annotation)) {
|
||||
try {
|
||||
await Zotero.PDFWorker.renderAttachmentAnnotations(annotation.parentID);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue