Commit 45e5cc4d authored by christianrhansen's avatar christianrhansen

renaming function (handleCellInfoTouch -> handleCellEdit)

parent af263612
Pipeline #20200 passed with stage
in 5 minutes and 7 seconds
......@@ -41,7 +41,7 @@
strong {{ selectedCell.type }}
q-item-side
q-btn.text-white.q-px-sm(@click="event => {handleCellInfoTouch(event, selectedCell.annotation)}", flat)
q-btn.text-white.q-px-sm(@click="event => {handleCellEdit(event, selectedCell.annotation)}", flat)
q-icon(name="edit")
q-btn.text-white.q-px-sm.on-right.on-left(@click="event => {handleCellContextMenuDelete(event, mobileSelectedCell)}",
......@@ -103,20 +103,20 @@
//--------------------------------------------------------------------------------------------------- mobile
.mobile-only
.edit-button.absolute.fit.bg-transparent(
v-touch-hold="event => {handleCellInfoTouch(event, annotation)}",
v-touch-hold="event => {handleCellEdit(event, annotation)}",
@click.prevent="event => {touchMobileCell(event, annotation)}")
//
q-btn.absolute-top-right.text-dark.q-pa-none.q-mr-xs(
v-if="showEditingCells",
@click.prevent="event => {handleCellInfoTouch(event, annotation)}",
@click.prevent="event => {handleCellEdit(event, annotation)}",
flat, round, size="sm", style="margin-top: 2px;")
q-icon(name="edit", size="20px")
//----- invisible edit-modal handler
//
q-btn.absolute-top-left.bg-blue(
@click.prevent="event => {handleCellInfoTouch(event, annotation)}", flat, style="opacity: 0") bla
@click.prevent="event => {handleCellEdit(event, annotation)}", flat, style="opacity: 0") bla
// @click.prevent="handleModal()", flat, style="opacity: 0") bla
//----- selecting cells disabled because it has no use currently
......@@ -629,8 +629,8 @@
this.cellHandler.resize.y = this.gridDimensions.full.cell.height * res.y - 8 - 20
}
},
handleCellInfoTouch (event, annotation) {
console.log('handleCellInfoTouch', annotation)
handleCellEdit (event, annotation) {
console.log('handleCellEdit', annotation)
this.touchMobileCell(event, annotation)
this.handleModal()
},
......
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