[Editor] Don't save the image when updating a stamp annotation

It adds some useless bytes in the file.
This commit is contained in:
Calixte Denizet 2025-09-04 18:54:10 +02:00
parent c386d9b87d
commit 2354ae4233

View File

@ -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;