changed destruction color + default arrow style
This commit is contained in:
		@@ -13,4 +13,6 @@
 | 
				
			|||||||
#let COLLECTIONS-PAD = (5pt, 3pt)
 | 
					#let COLLECTIONS-PAD = (5pt, 3pt)
 | 
				
			||||||
#let COLLECTIONS-DX = 3
 | 
					#let COLLECTIONS-DX = 3
 | 
				
			||||||
#let COLLECTIONS-DY = 3
 | 
					#let COLLECTIONS-DY = 3
 | 
				
			||||||
#let QUEUE-PAD = (5pt, 3pt)
 | 
					#let QUEUE-PAD = (5pt, 3pt)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#let COL-DESTRUCTION = rgb("#A80238")
 | 
				
			||||||
@@ -262,8 +262,8 @@
 | 
				
			|||||||
      // Draw lifeline destructions
 | 
					      // Draw lifeline destructions
 | 
				
			||||||
      for dest in destructions {
 | 
					      for dest in destructions {
 | 
				
			||||||
        let (cx, cy) = dest
 | 
					        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: COL-DESTRUCTION + 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 participants (end)
 | 
					      // Draw participants (end)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -117,7 +117,7 @@
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  let style = (
 | 
					  let style = (
 | 
				
			||||||
    mark: (end: "straight"),
 | 
					    mark: (end: ">", fill: elmt.color),
 | 
				
			||||||
    stroke: (
 | 
					    stroke: (
 | 
				
			||||||
      dash: if elmt.dashed {"dashed"} else {"solid"},
 | 
					      dash: if elmt.dashed {"dashed"} else {"solid"},
 | 
				
			||||||
      paint: elmt.color
 | 
					      paint: elmt.color
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user