Commit 9e51c09d authored by christianrhansen's avatar christianrhansen

renamed functions #2

parent 36a8d625
Pipeline #17200 passed with stage
in 41 seconds
......@@ -146,7 +146,7 @@
// :style="{left: resizeHandler.topLeft.x - 20 + 'px', top: resizeHandler.topLeft.y - 20 + 'px'}")
.resize-handler-mobile.top-left.absolute.text-dark.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid",
v-touch-pan="handleMove", round, flat,
v-touch-pan="handleMoveCell", round, flat,
:style="{left: resizeHandler.topLeft.x - 20 + 'px', top: resizeHandler.topLeft.y - 20 + 'px'}",
:class="{'pushed': !resizeHandler.topLeft.pushed}")
//:style="setHandlerStyle()")
......@@ -156,7 +156,7 @@
//----- resize handler (bottom right)
.resize-handler-mobile.bottom-right.text-dark.fixed.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid",
v-touch-pan="handleResize", round, flat,
v-touch-pan="handleResizeCell", round, flat,
:style="{left: resizeHandler.bottomRight.x - 20 + 'px', top: resizeHandler.bottomRight.y - 20 + 'px'}")
q-icon.self-center(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
......@@ -481,7 +481,7 @@
_resizeHandler.topLeft.pos = 'fixed on-right-side'
}
},
handleMove (obj) {
handleMoveCell (obj) {
this.resizeHandler.topLeft.x = obj.position.left
this.resizeHandler.topLeft.y = obj.position.top
......@@ -512,7 +512,7 @@
this.resizeHandler.topLeft.y = this.gridDimensions.full.cell.height * (this.mobileTempCell.y - 1) + 8 + 20
}
},
handleResize (obj) {
handleResizeCell (obj) {
// this.cursor = {x: obj.position.left, y: obj.position.top}
this.resizeHandler.bottomRight = {x: obj.position.left, y: obj.position.top}
// ---> panGrid
......
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