Avoid name clashing
This commit is contained in:
parent
ead4be7b88
commit
73cc871a5e
|
@ -13,7 +13,6 @@
|
||||||
let width
|
let width
|
||||||
let height
|
let height
|
||||||
let ref
|
let ref
|
||||||
let rows = 1
|
|
||||||
let children = writable({})
|
let children = writable({})
|
||||||
let mounted = false
|
let mounted = false
|
||||||
let styles = memo({})
|
let styles = memo({})
|
||||||
|
@ -49,11 +48,11 @@
|
||||||
max = children[id][key]
|
max = children[id][key]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let rows = max - 1
|
let requiredRows = max - 1
|
||||||
if (addEmptyRows) {
|
if (addEmptyRows) {
|
||||||
return Math.ceil((rows + 10) / 10) * 10
|
return Math.ceil((requiredRows + 10) / 10) * 10
|
||||||
} else {
|
} else {
|
||||||
return rows
|
return requiredRows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue