connection mono

This commit is contained in:
Alexander Wang 2023-03-13 16:14:50 -07:00
parent 62abaf3536
commit 0155bbabb5
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
3 changed files with 19 additions and 16 deletions

View file

@ -558,6 +558,9 @@ func drawConnection(writer io.Writer, labelMaskID string, connection d2target.Co
if connection.Label != "" {
fontClass := "text"
if connection.FontFamily == "mono" {
fontClass = "text-mono"
}
if connection.Bold {
fontClass += "-bold"
} else if connection.Italic {

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 265 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 266 KiB