From abb9ea99970dce4b855a0446e7b50c386e654d6b Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 7 Mar 2023 12:37:52 +0100 Subject: [PATCH 1/8] =?UTF-8?q?=F0=9F=90=9B=20cancel=20sign=20dialog=20exe?= =?UTF-8?q?ption?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-signer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx index fb4ce2224..3448772d6 100644 --- a/apps/web/components/editor/pdf-signer.tsx +++ b/apps/web/components/editor/pdf-signer.tsx @@ -45,6 +45,8 @@ export default function PDFSigner(props: any) { return; } + if (!dialogResult) return; + const signature = { fieldId: dialogField.id, type: dialogResult.type, From 12eae1bd7846251c908a6dd7cb122278604e8a82 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 7 Mar 2023 13:07:27 +0100 Subject: [PATCH 2/8] =?UTF-8?q?=F0=9F=9A=A7=20fixed=20field=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/editable-field.tsx | 7 ++----- apps/web/components/editor/signable-field.tsx | 7 ++----- packages/pdf/insertImageInPDF.ts | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/apps/web/components/editor/editable-field.tsx b/apps/web/components/editor/editable-field.tsx index 0135edfbd..c4966a0f0 100644 --- a/apps/web/components/editor/editable-field.tsx +++ b/apps/web/components/editor/editable-field.tsx @@ -53,18 +53,15 @@ export default function EditableField(props: FieldPropsType) { e.stopPropagation(); }} > + {/* width: 192 height 96 */}