Commit a4872679 authored by christianrhansen's avatar christianrhansen

fixed upshowing main-handler on initial setting up a new cell

parent 713a21b9
...@@ -145,13 +145,13 @@ ...@@ -145,13 +145,13 @@
//----------------------------------------------------------------------------------------------- move handler //----------------------------------------------------------------------------------------------- move handler
//----- (main) //----- (main)
v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed", v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
cell-handler-mobile.absolute( cell-handler-mobile.main.absolute(
v-if="!handlerNewCell.resize.pushed", v-if="!handlerNewCell.resize.pushed",
@onIntersectionChange="intersectionChanged", @onIntersectionChange="intersectionChanged",
:element="'move'", :element="'move'",
v-touch-pan="handleMoveCell", v-touch-pan="handleMoveCell",
:style="{left: handlerNewCell.move.x - 20 + 'px', top: handlerNewCell.move.y - 20 + 'px'}", :style="{left: handlerNewCell.move.x - 20 + 'px', top: handlerNewCell.move.y - 20 + 'px'}",
:class="[{'pushed': !handlerNewCell.move.pushed}]") :class="[{'pushed': !handlerNewCell.move.pushed}, {'hide': !mobileTempCell.onGrid}]")
q-icon.self-center.rotate-180(name="open_with", size="22px") q-icon.self-center.rotate-180(name="open_with", size="22px")
//----- (temp) //----- (temp)
...@@ -165,13 +165,13 @@ ...@@ -165,13 +165,13 @@
//--------------------------------------------------------------------------------------------- resize handler //--------------------------------------------------------------------------------------------- resize handler
//----- (main) //----- (main)
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed", v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
cell-handler-mobile.absolute( cell-handler-mobile.main.absolute(
v-if="!handlerNewCell.move.pushed", v-if="!handlerNewCell.move.pushed",
@onIntersectionChange="intersectionChanged", @onIntersectionChange="intersectionChanged",
:element="'resize'", :element="'resize'",
v-touch-pan="handleResizeCell", v-touch-pan="handleResizeCell",
:style="{left: handlerNewCell.resize.x - 20 + 'px', top: handlerNewCell.resize.y - 20 + 'px'}", :style="{left: handlerNewCell.resize.x - 20 + 'px', top: handlerNewCell.resize.y - 20 + 'px'}",
:class="{'pushed': !handlerNewCell.resize.pushed}") :class="[{'pushed': !handlerNewCell.resize.pushed}, {'hide': !mobileTempCell.onGrid}]")
q-icon.self-center(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;") q-icon.self-center(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
//----- (temp) //----- (temp)
...@@ -1302,6 +1302,11 @@ ...@@ -1302,6 +1302,11 @@
//************************************************** mobile: new cell //************************************************** mobile: new cell
handler-width = 40px handler-width = 40px
.main
&.hide
width 0!important
overflow hidden
.handler-new-cell .handler-new-cell
width handler-width width handler-width
height handler-width height handler-width
......
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