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:
parent
a787b82d45
commit
8ca0115391
@ -901,7 +901,7 @@ var createEventsListener = function() {
|
||||
var createSignaturePad = function() {
|
||||
signaturePad = new SignaturePad(document.getElementById('signature-pad'), {
|
||||
penColor: 'rgb(0, 0, 0)',
|
||||
minWidth: 0.75,
|
||||
minWidth: 1,
|
||||
maxWidth: 2,
|
||||
onEnd: function() {
|
||||
const file = new File([dataURLtoBlob(signaturePad.toDataURL())], "draw.png", {
|
||||
|
Loading…
Reference in New Issue
Block a user