Commit 9905b75c authored by christianrhansen's avatar christianrhansen

rmoved commented out js (clearTempCell)

parent 424125c0
Pipeline #19996 passed with stage
in 1 minute and 23 seconds
...@@ -480,7 +480,6 @@ ...@@ -480,7 +480,6 @@
break break
case 'cached cell': case 'cached cell':
this.$store.commit('mosys/cacheNewCell', undefined) this.$store.commit('mosys/cacheNewCell', undefined)
// this.clearTempCell()
this.clearHandler('temp cell') this.clearHandler('temp cell')
break break
case 'temp cell': case 'temp cell':
...@@ -612,11 +611,6 @@ ...@@ -612,11 +611,6 @@
handleModal () { handleModal () {
this.modal = !this.modal this.modal = !this.modal
}, },
/*
clearTempCell () {
this.mobileTempCell = {x: undefined, y: undefined, width: undefined, height: undefined, onGrid: false, button: false}
},
*/
panGrid (obj) { panGrid (obj) {
if (this.cachedNewCell && !this.mobileTempCell.onGrid) { if (this.cachedNewCell && !this.mobileTempCell.onGrid) {
// console.log('hhhhhhhhhhhhhhhhh', obj) // console.log('hhhhhhhhhhhhhhhhh', obj)
...@@ -944,7 +938,6 @@ ...@@ -944,7 +938,6 @@
this.tmpObjects = [] this.tmpObjects = []
event.preventDefault() event.preventDefault()
} }
// this.clearTempCell()
this.clearHandler('temp cell') this.clearHandler('temp cell')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment