don't increase font size for md text if container
This commit is contained in:
parent
d02e1ebb52
commit
8b791c7ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ func (obj *Object) Text() *d2target.MText {
|
|||
}
|
||||
|
||||
if obj.OuterSequenceDiagram() == nil {
|
||||
if obj.IsContainer() {
|
||||
if obj.IsContainer() && obj.Attributes.Shape.Value != "text" {
|
||||
fontSize = obj.Level().LabelSize()
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue