Make spread: 0 possible
Instead of defaulting to 'u' / 19
This commit is contained in:
parent
38a8fc5be8
commit
21e173e703
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ const render_zone = exports._render_zone = (zone_name, zone, anchor, global_key,
|
||||||
'number'
|
'number'
|
||||||
)(units)
|
)(units)
|
||||||
col.spread = a.sane(
|
col.spread = a.sane(
|
||||||
col.spread || (first_col ? 0 : 'u'),
|
col.spread !== undefined ? col.spread : (first_col ? 0 : 'u'),
|
||||||
`points.zones.${zone_name}.columns.${col_name}.spread`,
|
`points.zones.${zone_name}.columns.${col_name}.spread`,
|
||||||
'number'
|
'number'
|
||||||
)(units)
|
)(units)
|
||||||
|
@ -323,4 +323,4 @@ exports.visualize = (points, units) => {
|
||||||
models[pname] = p.position(rect)
|
models[pname] = p.position(rect)
|
||||||
}
|
}
|
||||||
return {models: models}
|
return {models: models}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue