Fix depth dimension bottom position
This commit is contained in:
parent
386febce84
commit
3684a34d3b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue