1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +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", {