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'
|
||||
)(units)
|
||||
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`,
|
||||
'number'
|
||||
)(units)
|
||||
|
@ -323,4 +323,4 @@ exports.visualize = (points, units) => {
|
|||
models[pname] = p.position(rect)
|
||||
}
|
||||
return {models: models}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue