changelog
This commit is contained in:
parent
281f163acf
commit
112558d901
2 changed files with 2 additions and 4 deletions
|
|
@ -25,6 +25,7 @@
|
|||
- Ensures labels fit inside shapes with shape-specific inner bounding boxes. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- dagre container labels changed positions to outside the shape. Many previously obscured container labels are now legible. [#788](https://github.com/terrastruct/d2/pull/788)
|
||||
- Improves package shape dimensions with short height. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- Sequence diagrams are rendered more compacted, both vertically and horizontally. [#796](https://github.com/terrastruct/d2/pull/796)
|
||||
- Keeps person shape from becoming too distorted. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- Ensures shapes with icons have enough padding for their labels. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- `--force-appendix` flag adds an appendix to SVG outputs with tooltips or links. [#761](https://github.com/terrastruct/d2/pull/761)
|
||||
|
|
@ -37,5 +38,6 @@
|
|||
- Fixes groups overlapping in sequence diagrams when they end in a self loop. [#728](https://github.com/terrastruct/d2/pull/728)
|
||||
- Fixes dimensions of unlabeled squares or circles with only a set width or height. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- Fixes scaling of actor shapes in sequence diagrams. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- Sequence diagram note ordering was sometimes wrong. [#796](https://github.com/terrastruct/d2/pull/796)
|
||||
- Images can now be set to sizes smaller than 128x128. [#702](https://github.com/terrastruct/d2/pull/702)
|
||||
- Fixes class height when there are no rows. [#756](https://github.com/terrastruct/d2/pull/756)
|
||||
|
|
|
|||
|
|
@ -288,10 +288,6 @@ func (sd *sequenceDiagram) adjustGroupLabel(group *d2graph.Object) {
|
|||
|
||||
group.Height += float64(heightAdd)
|
||||
|
||||
// Spans are special
|
||||
// If a span starts above the group, then extend it
|
||||
// Otherwise, move it down
|
||||
|
||||
// Extend stuff within this group
|
||||
for _, g := range sd.groups {
|
||||
if g.TopLeft.Y < group.TopLeft.Y && g.TopLeft.Y+g.Height > group.TopLeft.Y {
|
||||
|
|
|
|||
Loading…
Reference in a new issue