Commit 4f2001a9 authored by christianrhansen's avatar christianrhansen

mobile: hide move-handlers (main & temp) when resize-handler is pushed

parent 9c30d4de
......@@ -149,6 +149,7 @@
// ref="move",
// .handler-new-cell.move.absolute.text-dark.justify-center.row.bg-white.shadow-6(
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
@onIntersectionChange="intersectionChanged",
:element="'move'",
v-touch-pan="handleMoveCell",
......@@ -160,7 +161,7 @@
//----- (when main move handler is outside of viewport)
cell-handler-mobile.temp.fixed(
v-touch-pan="handleMoveCell",
:class="[tempHandler.move.visibility ? 'temp-hide': 'temp-show']",
:class="[tempHandler.move.visibility || handlerNewCell.resize.pushed ? 'temp-hide': 'temp-show']",
:style="{left: tempHandler.move.left + 'px', top: handlerNewCell.move.y + 59 - 20 + 'px'}",)
q-icon.self-center.rotate-180(name="open_with", size="22px")
......@@ -172,6 +173,7 @@
// ref="resize",
// :data-left="getHandlerPosition('resize')",
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
@onIntersectionChange="intersectionChanged",
:element="'resize'",
v-touch-pan="handleResizeCell",
......
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