Revert "🐛 Fix ipad drag issue (#2016)" (#2062)

This reverts commit 5bdcadf93d.
This commit is contained in:
Jan
2021-08-08 11:14:09 +02:00
committed by GitHub
parent 5bdcadf93d
commit 6ffc46c79d
2 changed files with 8 additions and 1 deletions

View File

@@ -334,6 +334,13 @@ export const nodeBase = mixins(
});
},
touchEnd(e: MouseEvent) {
if (this.isTouchDevice) {
if (this.$store.getters.isActionActive('dragActive')) {
this.$store.commit('removeActiveAction', 'dragActive');
}
}
},
mouseLeftClick (e: MouseEvent) {
// @ts-ignore
const path = e.path || (e.composedPath && e.composedPath());