Commit adcbed64 authored by christianrhansen's avatar christianrhansen

renamed cellHold -> cellCopy (unused atm)

parent a27fe1c7
......@@ -10,6 +10,7 @@
q-modal(v-model="modal", minimized, content-css="background-color: #eee; border-radius: .75rem;")
grid-editor-editing-cells-mobile
// -----------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------- "new cell"-header
#new-cell-header.fixed-top.z-top.bg-dark.text-white.transition(:class="{'show': cachedNewCell}")
q-item.q-pl-md.q-pr-xs.q-py-none.full-height
......@@ -40,8 +41,8 @@
q-btn.clear-button.q-px-md.q-mr-md.on-right(@click="clearHandler('cell')", flat)
q-icon(name="clear")
// -----------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------ grid
@click="event => {addMobileCell(event)}",
div.cell-grid.relative-position(
v-touch-pan="panGrid",
@dragenter="handleGridDragOver",
......@@ -66,7 +67,7 @@
template(v-for="(annotation, index) in annotations")
//----- cell
// v-touch-hold="event => {cellHold(event, annotation)}",
// v-touch-hold="event => {cellCopy(event, annotation)}",
.cell-item(
v-if="!annotationUIStates[annotation._uuid] || !annotationUIStates[annotation._uuid].beingDragged",
draggable="true",
......@@ -663,7 +664,7 @@
}
}
},
async cellHold (event, annotation) {
async cellCopy (event, annotation) {
this.$store.commit('mosys/setEditingCells', '')
this.$q.notify({
......
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