Layout · console.warn
layout: corners: {value} is not a corner sty...
Printed by Layout, prefixed [lattice], since 1.74.0.
Warnings reference › layout.corners.unknown
- Identifier
layout.corners.unknown- Raised by
- Layout
- Since
- 1.74.0
What happened
The layout's corners setting was not one of the two styles. A window's corner radius cannot be resolved from an unreadable value, so the layout uses "rounded", its default (today's look). A value that is not a string is described by its type rather than printed, because printing it would risk a throw inside the warning itself.
The fix
Set corners to 'rounded' or 'square'.
The smallest fix
createLayout(el, { corners: 'square', windows: [ … ] });
Reference
Covered in full at the API reference.