[ci-base] fix again

This commit is contained in:
Alexander Wang 2023-03-16 11:01:25 -07:00
parent 22b65daade
commit 1c67286f85
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -1479,7 +1479,7 @@ func (g *Graph) Texts() []*d2target.MText {
if capsLock {
text.Text = strings.ToUpper(text.Text)
}
texts = appendTextDedup(texts, edge.Text())
texts = appendTextDedup(texts, text)
}
if edge.SrcArrowhead != nil && edge.SrcArrowhead.Label.Value != "" {
t := edge.Text()