Commit 418972da authored by christianrhansen's avatar christianrhansen

preparing for intersection-observer directive

parent 97d28215
Pipeline #17280 passed with stage
in 21 seconds
......@@ -146,6 +146,7 @@
//----- (main)
// v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
.handler-new-cell.move.absolute.text-dark.justify-center.row.bg-white.shadow-6(
v-intersection-observer,
ref="move",
v-touch-pan="handleMoveCell", round, flat,
:style="{left: handlerNewCell.move.x - 20 + 'px', top: handlerNewCell.move.y - 20 + 'px'}",
......@@ -162,8 +163,9 @@
//--------------------------------------------------------------------------------------------- resize handler
//----- (main)
// v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
.handler-new-cell.resize.absolute.text-dark.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
v-intersection-observer,
v-touch-pan="handleResizeCell", round, flat,
:style="{left: handlerNewCell.resize.x - 20 + 'px', top: handlerNewCell.resize.y - 20 + 'px'}",
:class="{'pushed': !handlerNewCell.resize.pushed}")
......
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