delay signature rendering

pull/217/head
Alex Turchyn 2 years ago
parent 0f2889904a
commit 862fa55986

@ -343,10 +343,12 @@ export default {
const x = (canvasWidth - targetWidth) / 2
const y = (canvasHeight - targetHeight) / 2
setTimeout(() => {
context.clearRect(0, 0, canvasWidth, canvasHeight)
context.drawImage(img, x, y, targetWidth, targetHeight)
this.$emit('start')
}, 50)
}
}

Loading…
Cancel
Save