Commit adcbed64 authored by christianrhansen's avatar christianrhansen

renamed cellHold -> cellCopy (unused atm)

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