fix typo bug

This commit is contained in:
Gavin Nishizawa 2023-10-05 18:48:51 -07:00
parent 6bae0255e6
commit aca528c9e1
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD

View file

@ -397,7 +397,7 @@ func (gd *gridDiagram) layoutDynamic(g *d2graph.Graph, obj *d2graph.Object) {
cursor.X = 0
cursor.Y += rowHeight + verticalGap
}
maxY = cursor.Y - horizontalGap
maxY = cursor.Y - verticalGap
} else {
// measure column heights
colHeights := []float64{}