[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 =
|
serialized.accessibilityData.structParent =
|
||||||
this._initialData.structParent ?? -1;
|
this._initialData.structParent ?? -1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
serialized.id = this.annotationElementId;
|
serialized.id = this.annotationElementId;
|
||||||
|
delete serialized.bitmapId;
|
||||||
|
return serialized;
|
||||||
|
}
|
||||||
|
|
||||||
if (context === null) {
|
if (context === null) {
|
||||||
return serialized;
|
return serialized;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user