Commit 713a21b9 authored by christianrhansen's avatar christianrhansen

fixed upshowing temp-move-handler on initial setting up a new cell

parent c4be195c
Pipeline #19627 passed with stage
in 4 minutes and 12 seconds
......@@ -144,8 +144,9 @@
//----------------------------------------------------------------------------------------------- move handler
//----- (main)
v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
v-if="!handlerNewCell.resize.pushed",
@onIntersectionChange="intersectionChanged",
:element="'move'",
v-touch-pan="handleMoveCell",
......@@ -157,14 +158,15 @@
//----- (when main move handler is outside of viewport)
cell-handler-mobile.temp.fixed(
v-touch-pan="handleMoveCell",
:class="[(tempHandler.move.visibility || handlerNewCell.resize.pushed || handlerNewCell.move.pushed ? 'temp-hide': 'temp-show'), (tempHandler.move.side === 'left' ? 'left-side' : 'right-side')]",
:class="[(!mobileTempCell.onGrid || tempHandler.move.visibility || handlerNewCell.resize.pushed || handlerNewCell.move.pushed ? 'hide': 'show'), (tempHandler.move.side === 'left' ? 'left-side' : 'right-side')]",
:style="{top: handlerNewCell.move.y + 59 - 20 + 'px'}",)
q-icon.self-center.rotate-180(name="open_with", size="22px")
//--------------------------------------------------------------------------------------------- resize handler
//----- (main)
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
v-if="!handlerNewCell.move.pushed",
@onIntersectionChange="intersectionChanged",
:element="'resize'",
v-touch-pan="handleResizeCell",
......@@ -176,7 +178,7 @@
//----- (when main resize handler is outside of viewport)
cell-handler-mobile.temp.fixed(
v-touch-pan="handleResizeCell",
:class="[(tempHandler.resize.visibility || handlerNewCell.move.pushed || handlerNewCell.resize.pushed ? 'temp-hide': 'temp-show'), (tempHandler.resize.side === 'left' ? 'left-side' : 'right-side')]",
:class="[(!mobileTempCell.onGrid || tempHandler.resize.visibility || handlerNewCell.move.pushed || handlerNewCell.resize.pushed ? 'hide': 'show'), (tempHandler.resize.side === 'left' ? 'left-side' : 'right-side')]",
:style="{top: handlerNewCell.resize.y + 59 - 20 + 'px'}",)
q-icon.self-center(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
......@@ -1315,10 +1317,10 @@
transition opacity ease 350ms
opacity 0
&.temp-hide
&.hide
width 0!important
overflow hidden
&.temp-show
&.show
opacity 1
&.left-side
......
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