Commit 3af7a2b6 authored by christianrhansen's avatar christianrhansen

commented out unused mini variables

parent 27f2e89f
Pipeline #10775 passed with stage
in 10 minutes and 51 seconds
......@@ -113,8 +113,8 @@
let cellWidth = elWidth / Math.round(elWidth / (cellHeight * cellSizeRatio))
let gridWidth = cellWidth * this.grid.config.columns
let cellsPerWidth = elWidth / cellWidth
let cellWidthMini = elWidth / this.grid.config.columns
let gridHeightMini = cellWidthMini / cellSizeRatio
// let cellWidthMini = elWidth / this.grid.config.columns
// let gridHeightMini = cellWidthMini / cellSizeRatio
this.gridDimensions = {
full: {
width: gridWidth,
......@@ -124,7 +124,8 @@
height: cellHeight
},
cells_per_width: cellsPerWidth
},
}
/*
mini: {
width: elWidth,
height: gridHeightMini * this.grid.config.rows,
......@@ -133,12 +134,13 @@
height: gridHeightMini
}
}
*/
}
this.gridStyle = {
width: this.gridDimensions.full.width + 'px',
width: gridWidth + 'px',
height: '100%',
'grid-auto-columns': this.gridDimensions.full.cell.width + 'px',
'grid-auto-rows': this.gridDimensions.full.cell.height + 'px'
'grid-auto-columns': cellWidth + 'px',
'grid-auto-rows': cellHeight + 'px'
}
/*
if (elWidth > 800) {
......
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