Commit 9df6145f authored by christianrhansen's avatar christianrhansen

commented out pan cell feature

parent 652e4f71
Pipeline #51147 passed with stage
in 5 minutes and 54 seconds
......@@ -85,11 +85,10 @@
//--------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------- cell
template(v-if="data.annotations", v-for="(annotation, index) in data.annotations")
// v-touch-hold="event => {copyCell(event, annotation)}",
// v-touch-pan="event => { panCell(event, annotation) }",
// draggable="true",
.cell-item(
v-if="!annotationUIStates[annotation._uuid] || !annotationUIStates[annotation._uuid].beingDragged",
v-touch-pan="event => { panCell(event, annotation) }",
draggable="true",
@contextmenu="handleCellContextMenu",
:style="getCellStyle(annotation)",
:class="getAnnotationClasses(annotation._uuid, 'cell-item')",
......@@ -700,6 +699,7 @@
})
}
},
/*
panCell (event, annotation) {
if (!this.cachedNewCell && !this.isMobile) {
let
......@@ -739,6 +739,7 @@
}
}
},
*/
panGrid (obj) {
if (this.cachedNewCell && !this.tempCell.onGrid) {
let
......
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