do not move in preview

This commit is contained in:
Pete Matsyburka
2024-07-02 13:17:39 +03:00
parent 09b0022195
commit d219e3cd7e
+8
View File
@@ -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