1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-05-29 12:03:11 +02:00

Signature pad un tout petit peu plus petit

This commit is contained in:
Vincent LAURENT 2021-09-27 02:44:29 +02:00
parent 822e5066c2
commit 3a1b68240d

View file

@ -89,8 +89,8 @@ loadingTask.promise.then(function(pdf) {
var signaturePad = new SignaturePad(document.getElementById('signature-pad'), {
penColor: 'rgb(0, 0, 0)',
minWidth: 1.5,
maxWidth: 2.25,
minWidth: 1.25,
maxWidth: 2,
throttle: 0,
onEnd: function() {
const file = new File([dataURLtoBlob(signaturePad.toDataURL("image/svg+xml"))], "draw.svg", {