mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: change flattening order
This commit is contained in:
@ -95,8 +95,8 @@ export const sealDocument = async ({
|
|||||||
|
|
||||||
// Normalize and flatten layers that could cause issues with the signature
|
// Normalize and flatten layers that could cause issues with the signature
|
||||||
normalizeSignatureAppearances(doc);
|
normalizeSignatureAppearances(doc);
|
||||||
flattenAnnotations(doc);
|
|
||||||
doc.getForm().flatten();
|
doc.getForm().flatten();
|
||||||
|
flattenAnnotations(doc);
|
||||||
|
|
||||||
for (const field of fields) {
|
for (const field of fields) {
|
||||||
await insertFieldInPDF(doc, field);
|
await insertFieldInPDF(doc, field);
|
||||||
|
|||||||
Reference in New Issue
Block a user