Skip to content

Commit 10e0153

Browse files
fix: initial type signature bulry issue
1 parent 42cbe94 commit 10e0153

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/OpenSign/src/components/pdf/SignPad.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ function SignPad({
101101
onSaveSign(
102102
null,
103103
false,
104-
textWidth > 150 ? 150 : textWidth,
105-
textHeight > 35 ? 35 : textHeight
104+
!isInitial && textWidth > 150 ? 150 : textWidth,
105+
!isInitial && textHeight > 35 ? 35 : textHeight
106106
);
107107
} else {
108108
setIsSignImg("");
@@ -215,7 +215,7 @@ function SignPad({
215215
: fontSelect
216216
? fontSelect
217217
: "Fasthand";
218-
const fontSizeValue = isInitial ? "20px" : "40px";
218+
const fontSizeValue = "40px";
219219
//creating span for getting text content width
220220
const span = document.createElement("span");
221221
span.textContent = textContent;

0 commit comments

Comments
 (0)