Tune cell sizes

This commit is contained in:
Andrew Kingston 2023-03-01 16:12:35 +00:00
parent 524c46a554
commit ca96a61cde
2 changed files with 3 additions and 11 deletions

View File

@ -24,7 +24,7 @@
export let API
// Sheet constants
const cellHeight = 36
const cellHeight = 40
const rand = Math.random()
// State stores

View File

@ -7,16 +7,8 @@
export let row
const {
selectedCellId,
reorder,
selectedRows,
rows,
visibleColumns,
cellHeight,
} = getContext("spreadsheet")
console.log("mount")
const { selectedCellId, reorder, selectedRows, rows, visibleColumns } =
getContext("spreadsheet")
$: rowSelected = !!$selectedRows[row._id]
</script>