Add comments
This commit is contained in:
parent
9b33ee1cee
commit
8050a405f5
|
@ -4,6 +4,7 @@ import { DefaultColumnWidth, GutterWidth } from "../lib/constants"
|
||||||
export const createStores = () => {
|
export const createStores = () => {
|
||||||
const columns = writable([])
|
const columns = writable([])
|
||||||
|
|
||||||
|
// Enrich columns with metadata about their display position
|
||||||
const enrichedColumns = derived(columns, $columns => {
|
const enrichedColumns = derived(columns, $columns => {
|
||||||
let offset = GutterWidth
|
let offset = GutterWidth
|
||||||
let idx = 0
|
let idx = 0
|
||||||
|
|
Loading…
Reference in New Issue