Commit 6f6a3530 authored by christianrhansen's avatar christianrhansen

mobile: "resize new cell"-position on bottom right in cell on initial positioning

parent c7ed01a6
......@@ -154,7 +154,7 @@
q-icon.self-center.rotate-180(name="open_with", size="22px")
//----- resize handler (bottom right)
.handler-new-cell.resize.text-dark.fixed.justify-center.row.bg-white.shadow-6(
.handler-new-cell.resize.absolute.text-dark.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid",
v-touch-pan="handleResizeCell", round, flat,
:style="{left: handlerNewCell.resize.x - 20 + 'px', top: handlerNewCell.resize.y - 20 + 'px'}")
......@@ -581,6 +581,9 @@
// this.mobileTempCell.show = false
this.handlerNewCell.move.x = this.gridDimensions.full.cell.width * (this.mobileTempCell.x - 1) + 8 + 20
this.handlerNewCell.move.y = this.gridDimensions.full.cell.height * (this.mobileTempCell.y - 1) + 8 + 20
this.handlerNewCell.resize.x = this.gridDimensions.full.cell.width * res.x - 8 - 20
this.handlerNewCell.resize.y = this.gridDimensions.full.cell.height * res.y - 8 - 20
}
}
},
......
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