Commit 66573b80 authored by christianrhansen's avatar christianrhansen

removed redundant var (pushedHandler)

parent 1c95f42f
Pipeline #20293 passed with stage
in 1 minute and 23 seconds
<template lang="pug">
div.cell-grid-container(
:class="{'overflow-hidden': pushedHandler}",
:class="{'overflow-hidden': cellHandler.resize.pushed || cellHandler.move.pushed}",
style="overflow-y: hidden; scroll-behavior: smooth;")
q-window-resize-observable(@resize="updateGridDimensions")
......@@ -266,7 +266,6 @@
move: {left: undefined, intersectingMainHandler: false, side: undefined},
resize: {left: undefined, intersectingMainHandler: false, side: undefined}
},
pushedHandler: false,
selectedCell: {type: undefined, annotation: undefined}
}
},
......@@ -438,7 +437,6 @@
tempCell = this.mobileTempCell
if (obj.isFirst) {
this.pushedHandler = true
tempCell.show = true
moveHandler.pushed = true
}
......@@ -452,7 +450,6 @@
moveHandler.gridPosition.column = pos.x
if (obj.isFinal) {
this.pushedHandler = false
tempCell.onGrid = true
moveHandler.pushed = false
moveHandler.x = fullCell.width * (tempCell.x - 1) + 8 + 20
......@@ -468,7 +465,6 @@
tempCell = this.mobileTempCell
if (obj.isFirst) {
this.pushedHandler = true
tempCell.show = true
resizeHandler.pushed = true
}
......@@ -482,7 +478,6 @@
resizeHandler.gridPosition.column = pos.x
if (obj.isFinal) {
this.pushedHandler = false
tempCell.onGrid = true
resizeHandler.pushed = false
resizeHandler.x = this.gridDimensions.full.cell.width * pos.x - 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