Tune cell sizes
This commit is contained in:
parent
524c46a554
commit
ca96a61cde
|
@ -24,7 +24,7 @@
|
|||
export let API
|
||||
|
||||
// Sheet constants
|
||||
const cellHeight = 36
|
||||
const cellHeight = 40
|
||||
const rand = Math.random()
|
||||
|
||||
// State stores
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue