...
 
Commits (2)
...@@ -551,15 +551,13 @@ ...@@ -551,15 +551,13 @@
} }
}, },
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) this.annotationUIStates[k].editing = false
else this.annotationUIStates[k].editing = false
}) })
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) {
......