[chronojump] Fixed minor graph bug on painting runI double contacts at end



commit 3cf11034d3e6bb6ad319ec9ddf879b6387a68d60
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Apr 23 10:16:14 2018 +0200

    Fixed minor graph bug on painting runI double contacts at end

 src/execute/runObjects.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/execute/runObjects.cs b/src/execute/runObjects.cs
index 5acdc31..a1fa4b9 100644
--- a/src/execute/runObjects.cs
+++ b/src/execute/runObjects.cs
@@ -656,7 +656,8 @@ public class RunPhaseTimeList
                                                startInMS/1000.0,
                                                (startInMS + ptLast.Duration)/1000.0);
 
-                       if(rptloToAdd.phase == RunPhaseTimeListObject.Phases.START)
+                       if(rptloToAdd.phase == RunPhaseTimeListObject.Phases.START ||
+                                       rptloToAdd.phase == RunPhaseTimeListObject.Phases.MIDDLE)
                                rptloLast.phase = RunPhaseTimeListObject.Phases.END;
 
                        list_in.Add(rptloLast);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]