[Update] Translation and fix
This commit is contained in:
parent
174767f22c
commit
4c2cf66667
6 changed files with 49 additions and 11 deletions
|
@ -167,11 +167,11 @@ function Dimensions({ containers, symbols, root, scale }: IDimensionLayerProps):
|
|||
|
||||
for (const symbol of symbols) {
|
||||
if (symbol[1].showDimension) {
|
||||
startDepthHorizontalSymbols++;
|
||||
startDepthVerticalSymbols++;
|
||||
if (symbol[1].isVertical) {
|
||||
startDepthVerticalSymbols++;
|
||||
AddVerticalSymbolDimension(symbol[1], dimensions, scale, startDepthVerticalSymbols);
|
||||
} else {
|
||||
startDepthHorizontalSymbols++;
|
||||
AddHorizontalSymbolDimension(symbol[1], dimensions, scale, startDepthHorizontalSymbols);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue