Set dimension to fixed 2
This commit is contained in:
parent
ee7c418b24
commit
5aaf1f4745
3 changed files with 11 additions and 5 deletions
|
@ -18,7 +18,9 @@ function GetDimensionsNodes(root: ContainerModel): React.ReactNode[] {
|
|||
const xEnd = xStart + width;
|
||||
const y = (container.properties.y + container.properties.height) + (DIMENSION_MARGIN * (depth + 1));
|
||||
const strokeWidth = 1;
|
||||
const text = width.toString();
|
||||
const text = width
|
||||
.toFixed(2)
|
||||
.toString();
|
||||
dimensions.push(
|
||||
<Dimension
|
||||
key={id}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue