mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
delay signature rendering
This commit is contained in:
1 parent
0f2889904a
commit
862fa55986
1 file changed
+5
-3
@@ -343,10 +343,12 @@ export default {
|
||||
const x = (canvasWidth - targetWidth) / 2
|
||||
const y = (canvasHeight - targetHeight) / 2
|
||||
|
||||
context.clearRect(0, 0, canvasWidth, canvasHeight)
|
||||
context.drawImage(img, x, y, targetWidth, targetHeight)
|
||||
setTimeout(() => {
|
||||
context.clearRect(0, 0, canvasWidth, canvasHeight)
|
||||
context.drawImage(img, x, y, targetWidth, targetHeight)
|
||||
|
||||
this.$emit('start')
|
||||
this.$emit('start')
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user