1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

signature pad size minimum less small

This commit is contained in:
Vincent LAURENT 2022-04-14 00:50:17 +02:00
parent a787b82d45
commit 8ca0115391

View File

@ -901,7 +901,7 @@ var createEventsListener = function() {
var createSignaturePad = function() { var createSignaturePad = function() {
signaturePad = new SignaturePad(document.getElementById('signature-pad'), { signaturePad = new SignaturePad(document.getElementById('signature-pad'), {
penColor: 'rgb(0, 0, 0)', penColor: 'rgb(0, 0, 0)',
minWidth: 0.75, minWidth: 1,
maxWidth: 2, maxWidth: 2,
onEnd: function() { onEnd: function() {
const file = new File([dataURLtoBlob(signaturePad.toDataURL())], "draw.png", { const file = new File([dataURLtoBlob(signaturePad.toDataURL())], "draw.png", {