[ci-base] apply caps lock to table/class headers
This commit is contained in:
parent
1c67286f85
commit
384cc6e74b
1 changed files with 1 additions and 1 deletions
|
|
@ -1445,7 +1445,7 @@ func (g *Graph) Texts() []*d2target.MText {
|
||||||
for _, obj := range g.Objects {
|
for _, obj := range g.Objects {
|
||||||
if obj.Attributes.Label.Value != "" {
|
if obj.Attributes.Label.Value != "" {
|
||||||
text := obj.Text()
|
text := obj.Text()
|
||||||
if capsLock && obj.Class == nil && obj.SQLTable == nil {
|
if capsLock {
|
||||||
text.Text = strings.ToUpper(text.Text)
|
text.Text = strings.ToUpper(text.Text)
|
||||||
}
|
}
|
||||||
texts = appendTextDedup(texts, text)
|
texts = appendTextDedup(texts, text)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue