changed destruction color + default arrow style

This commit is contained in:
Louis Heredero 2024-06-19 22:16:51 +02:00
parent 816cb98491
commit 0fbe1e0683
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
3 changed files with 6 additions and 4 deletions

View File

@ -13,4 +13,6 @@
#let COLLECTIONS-PAD = (5pt, 3pt)
#let COLLECTIONS-DX = 3
#let COLLECTIONS-DY = 3
#let QUEUE-PAD = (5pt, 3pt)
#let QUEUE-PAD = (5pt, 3pt)
#let COL-DESTRUCTION = rgb("#A80238")

View File

@ -262,8 +262,8 @@
// Draw lifeline destructions
for dest in destructions {
let (cx, cy) = dest
draw.line((cx - 8, cy - 8), (cx + 8, cy + 8), stroke: red + 2pt)
draw.line((cx - 8, cy + 8), (cx + 8, cy - 8), stroke: red + 2pt)
draw.line((cx - 8, cy - 8), (cx + 8, cy + 8), stroke: COL-DESTRUCTION + 2pt)
draw.line((cx - 8, cy + 8), (cx + 8, cy - 8), stroke: COL-DESTRUCTION + 2pt)
}
// Draw participants (end)

View File

@ -117,7 +117,7 @@
}
let style = (
mark: (end: "straight"),
mark: (end: ">", fill: elmt.color),
stroke: (
dash: if elmt.dashed {"dashed"} else {"solid"},
paint: elmt.color