connection mono
This commit is contained in:
parent
62abaf3536
commit
0155bbabb5
3 changed files with 19 additions and 16 deletions
|
|
@ -558,6 +558,9 @@ func drawConnection(writer io.Writer, labelMaskID string, connection d2target.Co
|
||||||
|
|
||||||
if connection.Label != "" {
|
if connection.Label != "" {
|
||||||
fontClass := "text"
|
fontClass := "text"
|
||||||
|
if connection.FontFamily == "mono" {
|
||||||
|
fontClass = "text-mono"
|
||||||
|
}
|
||||||
if connection.Bold {
|
if connection.Bold {
|
||||||
fontClass += "-bold"
|
fontClass += "-bold"
|
||||||
} else if connection.Italic {
|
} 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 |
Loading…
Reference in a new issue