Tune cell sizes
This commit is contained in:
parent
524c46a554
commit
ca96a61cde
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue