Commit 4fb1fd1b authored by christianrhansen's avatar christianrhansen

fixed selected cell highlighting

parent dcb0024e
...@@ -551,7 +551,7 @@ ...@@ -551,7 +551,7 @@
} }
}, },
touchMobileCell (event, cell) { touchMobileCell (event, cell) {
if (!this.mobileTempCell.onGrid && cell) { if (cell) {
Object.keys(this.annotationUIStates).filter((k) => { Object.keys(this.annotationUIStates).filter((k) => {
if (k === cell._uuid && this.annotationUIStates[k].editing) console.log(k, cell._uuid) if (k === cell._uuid && this.annotationUIStates[k].editing) console.log(k, cell._uuid)
else this.annotationUIStates[k].editing = false else this.annotationUIStates[k].editing = false
...@@ -559,7 +559,6 @@ ...@@ -559,7 +559,6 @@
this.annotationUIStates[cell._uuid].editing = !this.annotationUIStates[cell._uuid].editing this.annotationUIStates[cell._uuid].editing = !this.annotationUIStates[cell._uuid].editing
this.updateEditingCells() this.updateEditingCells()
this.$root.$emit('mosys_saveScrollPosition') this.$root.$emit('mosys_saveScrollPosition')
// this.handleCellEditClick(event, annotation)
} }
}, },
handleCellTouch (event, annotation) { handleCellTouch (event, annotation) {
......
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