changelog
This commit is contained in:
parent
378ee71907
commit
7f1bfff6f2
2 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- Use shape specific sizing for grid containers [#1294](https://github.com/terrastruct/d2/pull/1294)
|
||||
- Grid diagrams now support nested shapes or grid diagrams [#1309](https://github.com/terrastruct/d2/pull/1309)
|
||||
- Grid diagrams will now also use `grid-gap`, `vertical-gap`, and `horizontal-gap` for padding [#1309](https://github.com/terrastruct/d2/pull/1309)
|
||||
- Watch mode browser uses an error favicon to easily indicate compiler errors. Thanks @sinyo-matu ! [#1240](https://github.com/terrastruct/d2/pull/1240)
|
||||
- Improves grid layout performance when there are many similarly sized shapes. [#1315](https://github.com/terrastruct/d2/pull/1315)
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,6 @@ func (gd *gridDiagram) cleanup(obj *d2graph.Object, graph *d2graph.Graph) {
|
|||
obj.ChildrenArray = make([]*d2graph.Object, 0)
|
||||
|
||||
restore := func(parent, child *d2graph.Object) {
|
||||
// fmt.Printf("restore %v's %v\n", parent.AbsID(), child.AbsID())
|
||||
parent.Children[strings.ToLower(child.ID)] = child
|
||||
parent.ChildrenArray = append(parent.ChildrenArray, child)
|
||||
graph.Objects = append(graph.Objects, child)
|
||||
|
|
|
|||
Loading…
Reference in a new issue