mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
do not move in preview
This commit is contained in:
1 parent
09b0022195
commit
d219e3cd7e
1 file changed
+8
@@ -691,6 +691,10 @@ export default {
|
||||
this.$emit('start-drag')
|
||||
},
|
||||
touchDrag (e) {
|
||||
if (!this.editable) {
|
||||
return
|
||||
}
|
||||
|
||||
const page = this.$parent.$refs.mask.previousSibling
|
||||
const rect = page.getBoundingClientRect()
|
||||
|
||||
@@ -732,6 +736,10 @@ export default {
|
||||
this.$emit('start-drag')
|
||||
},
|
||||
mouseMove (e) {
|
||||
if (!this.editable) {
|
||||
return
|
||||
}
|
||||
|
||||
this.isMoved = true
|
||||
|
||||
const page = this.$parent.$refs.mask.previousSibling
|
||||
|
||||
Reference in new issue
Block a user