[Editor] Don't save the image when updating a stamp annotation
It adds some useless bytes in the file.
This commit is contained in:
parent
c386d9b87d
commit
2354ae4233
@ -878,8 +878,10 @@ class StampEditor extends AnnotationEditor {
|
||||
serialized.accessibilityData.structParent =
|
||||
this._initialData.structParent ?? -1;
|
||||
}
|
||||
serialized.id = this.annotationElementId;
|
||||
delete serialized.bitmapId;
|
||||
return serialized;
|
||||
}
|
||||
serialized.id = this.annotationElementId;
|
||||
|
||||
if (context === null) {
|
||||
return serialized;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user