diff --git a/src/Components/SVG/Elements/DepthDimensionLayer.tsx b/src/Components/SVG/Elements/DepthDimensionLayer.tsx index 15bd78e..ec93d9c 100644 --- a/src/Components/SVG/Elements/DepthDimensionLayer.tsx +++ b/src/Components/SVG/Elements/DepthDimensionLayer.tsx @@ -74,7 +74,7 @@ function AddNewDimension(currentDepth: number, min: number, max: number, lastY: const id = `dim-depth-${currentDepth}`; const xStart = min; const xEnd = max; - const y = (lastY + (DIMENSION_MARGIN * (currentDepth + 1))) / scale; + const y = lastY + (DIMENSION_MARGIN * (currentDepth + 1)) / scale; const strokeWidth = 1; const width = xEnd - xStart; const text = width