...
 
Commits (2)
...@@ -249,7 +249,6 @@ ...@@ -249,7 +249,6 @@
contextMenuClickPosition: {}, contextMenuClickPosition: {},
resizingGrid: false, resizingGrid: false,
mobileSelectedCell: undefined, mobileSelectedCell: undefined,
touch: {position: {top: undefined, left: undefined}},
isMobile: this.$q.platform.is.mobile, isMobile: this.$q.platform.is.mobile,
mobileTempCell: { mobileTempCell: {
x: 0, x: 0,
...@@ -567,18 +566,6 @@ ...@@ -567,18 +566,6 @@
} }
this.$store.commit('mosys/cacheNewCell', resourceCell) this.$store.commit('mosys/cacheNewCell', resourceCell)
}, },
moveCachedCell (obj) {
this.touch.position = {top: obj.position.top, left: obj.position.left}
/*
if (obj.isFinal) {
console.log(obj.isFinal)
console.log(window.event)
console.log(this.touch.position)
console.log('--->->->', this.getGridPositionForEvent(event))
}
*/
// console.log('--->>>', this.getGridPositionForEvent(event))
},
addMobileCell (event) { addMobileCell (event) {
if (this.cachedNewCell) { if (this.cachedNewCell) {
this.handleGridDrop(event) this.handleGridDrop(event)
......