Commit 7dc4f916 authored by christianrhansen's avatar christianrhansen

edit content box opens on cell touch hold now. deactivated clickable cell-info.

parent 19ab7c1e
......@@ -58,9 +58,10 @@
template(v-for="(annotation, index) in annotations")
//----- cell
// v-touch-hold="event => {cellHold(event, annotation)}",
.cell-item(
v-if="!annotationUIStates[annotation._uuid] || !annotationUIStates[annotation._uuid].beingDragged",
v-touch-hold="event => {cellHold(event, annotation)}",
v-touch-hold="event => {handleCellInfoTouch(event, annotation)}",
draggable="true",
@click.prevent="event => {handleCellTouch(event, annotation)}",
@dragstart="event => {handleCellDragStart(event, annotation)}",
......@@ -83,10 +84,11 @@
q-btn.edit-button.absolute.fit.bg-transparent(
@click.prevent="event => {touchMobileCell(event, annotation)}", flat)
// invisible
q-btn.absolute-top-left.bg-blue(
@click.prevent="event => {handleCellInfoTouch(event, annotation)}", flat, style="opacity: 0") bla
// @click.prevent="handleModal()", flat, style="opacity: 0") bla
//----- invisible edit-modal handler
//
q-btn.absolute-top-left.bg-blue(
@click.prevent="event => {handleCellInfoTouch(event, annotation)}", flat, style="opacity: 0") bla
// @click.prevent="handleModal()", flat, style="opacity: 0") bla
//----- selecting cells disabled because it has no use currently
// switch with cell component below to re-enable it
......
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