From b881bb4ab82ec123578497afaffb5c493b4bc36e Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk>
Date: Tue, 5 Mar 2024 14:28:16 +0000
Subject: [PATCH] Fix ADC plotting profile

---
 src/plot.jl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plot.jl b/src/plot.jl
index beb74a0..7b28c13 100644
--- a/src/plot.jl
+++ b/src/plot.jl
@@ -147,8 +147,8 @@ function SequenceDiagram(bbb::BaseBuildingBlock)
                 )
             else
                 kwargs[:ADC] = SinglePlotLine(
-                    [0., delay, delay + duration(event), duration(bbb)],
-                    [0., 1., 1., 0.],
+                    [0., delay, delay, delay + duration(event), delay + duration(event), duration(bbb)],
+                    [0., 0., 1., 1., 0., 0.],
                 )
             end
         end
-- 
GitLab