mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
adjust signing form
This commit is contained in:
1 parent
960d36f628
commit
a588c2f4a4
3 files changed
+16
No files matched your search
@@ -205,6 +205,9 @@
|
||||
:aria-label="t('signature_drawing_area')"
|
||||
style="padding: 1px; 0"
|
||||
class="bg-white border border-base-300 rounded-2xl w-full draw-canvas"
|
||||
@touchstart.passive="lockSwipe"
|
||||
@touchend.passive="unlockSwipe"
|
||||
@touchcancel.passive="unlockSwipe"
|
||||
/>
|
||||
<div
|
||||
v-if="isShowQr"
|
||||
@@ -576,6 +579,12 @@ export default {
|
||||
this.stopCheckSignature()
|
||||
},
|
||||
methods: {
|
||||
lockSwipe () {
|
||||
window.webkit?.messageHandlers?.native?.postMessage({ type: 'swipe', op: 'lock' })
|
||||
},
|
||||
unlockSwipe () {
|
||||
window.webkit?.messageHandlers?.native?.postMessage({ type: 'swipe', op: 'unlock' })
|
||||
},
|
||||
setCanvasSize () {
|
||||
const canvas = this.$refs.canvas
|
||||
|
||||
|
||||
Reference in new issue
Block a user