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