fix typo bug
This commit is contained in:
parent
6bae0255e6
commit
aca528c9e1
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ func (gd *gridDiagram) layoutDynamic(g *d2graph.Graph, obj *d2graph.Object) {
|
||||||
cursor.X = 0
|
cursor.X = 0
|
||||||
cursor.Y += rowHeight + verticalGap
|
cursor.Y += rowHeight + verticalGap
|
||||||
}
|
}
|
||||||
maxY = cursor.Y - horizontalGap
|
maxY = cursor.Y - verticalGap
|
||||||
} else {
|
} else {
|
||||||
// measure column heights
|
// measure column heights
|
||||||
colHeights := []float64{}
|
colHeights := []float64{}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue