Fix regression with children dimension and having less than two
This commit is contained in:
parent
badf6ebaf5
commit
57353a9bf0
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
ActionByPosition(
|
||||||
dimMapped,
|
dimMapped,
|
||||||
container.properties.showChildrenDimensions,
|
container.properties.showChildrenDimensions,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue