Commit 36a8d625 authored by christianrhansen's avatar christianrhansen

renamed functions

parent 62b4f8a5
......@@ -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="handleTopLeft", round, flat,
v-touch-pan="handleMove", 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="testButton", round, flat,
v-touch-pan="handleResize", 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'
}
},
handleTopLeft (obj) {
handleMove (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
}
},
testButton (obj) {
handleResize (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