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 export let API
// Sheet constants // Sheet constants
const cellHeight = 36 const cellHeight = 40
const rand = Math.random() const rand = Math.random()
// State stores // State stores

View File

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