Text cotation css modified + no decimal display on text

This commit is contained in:
Guillaume Tauzin 2022-09-16 10:07:01 +02:00
parent 0d557624f7
commit 320d68e27f
4 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ function GetDimensionsNodes(root: ContainerModel): React.ReactNode[] {
const y = (container.properties.y + container.properties.height) + (DIMENSION_MARGIN * (depth + 1));
const strokeWidth = 1;
const text = width
.toFixed(2)
.toFixed(0)
.toString();
dimensions.push(
<Dimension