mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Use appearance stream to render locked annotations (bug 1723568)
This commit is contained in:
parent
e11371c75f
commit
8db77cc361
4 changed files with 26 additions and 1 deletions
|
@ -2621,6 +2621,9 @@ class AnnotationLayer {
|
|||
let zIndex = 0;
|
||||
|
||||
for (const data of annotations) {
|
||||
if (data.noHTML) {
|
||||
continue;
|
||||
}
|
||||
if (data.annotationType !== AnnotationType.POPUP) {
|
||||
const { width, height } = getRectDims(data.rect);
|
||||
if (width <= 0 || height <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue