always add connection label masks since outside labels may overlap other connections
This commit is contained in:
parent
b8436358fb
commit
1489c67e9f
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,8 @@ func drawConnection(writer io.Writer, labelMaskID string, connection d2target.Co
|
|||
|
||||
if label.Position(connection.LabelPosition).IsOnEdge() {
|
||||
labelMask = makeLabelMask(labelTL, connection.LabelWidth, connection.LabelHeight, 1)
|
||||
} else {
|
||||
labelMask = makeLabelMask(labelTL, connection.LabelWidth, connection.LabelHeight, 0.75)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue