mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
[Editor] In edit mode, a non-editable stamp must be visible after the page is rendered
This commit is contained in:
parent
dea35aed4a
commit
f3454a738d
7 changed files with 74 additions and 12 deletions
|
@ -4920,7 +4920,7 @@ class StampAnnotation extends MarkupAnnotation {
|
|||
mustBeViewedWhenEditing(isEditing, modifiedIds = null) {
|
||||
if (isEditing) {
|
||||
if (!this.data.isEditable) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
// When we're editing, we want to ensure that the stamp annotation is
|
||||
// drawn on a canvas in order to use it in the annotation editor layer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue