🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: initial type signature bulry issue
RaktimaNXG10e0153018a0
diff --git a/apps/OpenSign/src/components/pdf/SignPad.js b/apps/OpenSign/src/components/pdf/SignPad.jsindex 21bc746fb..e362ca23f 100644--- a/apps/OpenSign/src/components/pdf/SignPad.js+++ b/apps/OpenSign/src/components/pdf/SignPad.js@@ -101,8 +101,8 @@ function SignPad({onSaveSign(null,false,- textWidth > 150 ? 150 : textWidth,- textHeight > 35 ? 35 : textHeight+ !isInitial && textWidth > 150 ? 150 : textWidth,+ !isInitial && textHeight > 35 ? 35 : textHeight);} else {setIsSignImg("");@@ -215,7 +215,7 @@ function SignPad({: fontSelect? fontSelect: "Fasthand";- const fontSizeValue = isInitial ? "20px" : "40px";+ const fontSizeValue = "40px";//creating span for getting text content widthconst span = document.createElement("span");span.textContent = textContent;