Commit ad2737f8 authored by christianrhansen's avatar christianrhansen

fixed move handler bug in mobile view finally!!!

parent 60d88cbb
Pipeline #51260 passed with stage
in 1 minute and 18 seconds
...@@ -69,12 +69,6 @@ ...@@ -69,12 +69,6 @@
@click.native="event => {action.handler(event)}") @click.native="event => {action.handler(event)}")
q-item-main(:label="action.label") q-item-main(:label="action.label")
//------------------------------------------------------------------------------------------------- temporary cell
.cell-item.temp-cell(
v-if="cellHandler.resize.pushed || cellHandler.move.pushed || cachedNewCell",
:style="getCellStyle(tempCell)",
:class="{'edit': tempCell.type === 'edit'}")
//---------------------------------------------------------------------------------------------------------- cells //---------------------------------------------------------------------------------------------------------- cells
template(v-if="data.annotations", v-for="(annotation, index) in data.annotations") template(v-if="data.annotations", v-for="(annotation, index) in data.annotations")
// v-touch-pan="event => { panCell(event, annotation) }", // v-touch-pan="event => { panCell(event, annotation) }",
...@@ -129,6 +123,12 @@ ...@@ -129,6 +123,12 @@
:class="[(cellHandler.hidden || sideHandler.move.intersectingMainHandler || cellHandler.resize.pushed || cellHandler.move.pushed ? 'hide': 'show'), (sideHandler.move.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]") :class="[(cellHandler.hidden || sideHandler.move.intersectingMainHandler || cellHandler.resize.pushed || cellHandler.move.pushed ? 'hide': 'show'), (sideHandler.move.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]")
q-icon.rotate-180(name="open_with", size="22px") q-icon.rotate-180(name="open_with", size="22px")
//------------------------------------------------------------------------------------------------- temporary cell
.cell-item.temp-cell(
v-if="cellHandler.resize.pushed || cellHandler.move.pushed || cachedNewCell",
:style="getCellStyle(tempCell)",
:class="{'edit': tempCell.type === 'edit'}")
//------------------------------------------------------------------------------------------------- resize handler //------------------------------------------------------------------------------------------------- resize handler
//----- default in cell //----- default in cell
......
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