diff --git a/src/Components/SVG/Elements/DimensionLayer.tsx b/src/Components/SVG/Elements/DimensionLayer.tsx index 881bea7..6c89138 100644 --- a/src/Components/SVG/Elements/DimensionLayer.tsx +++ b/src/Components/SVG/Elements/DimensionLayer.tsx @@ -96,7 +96,7 @@ function Dimensions({ root, scale }: IDimensionLayerProps): React.ReactNode[] { ); } - if (SHOW_CHILDREN_DIMENSIONS && container.properties.showChildrenDimensions.length > 0) { + if (SHOW_CHILDREN_DIMENSIONS && container.properties.showChildrenDimensions.length > 0 && container.children.length >= 2) { ActionByPosition( dimMapped, container.properties.showChildrenDimensions,