[chronojump] Fixed On races show contact only if time is started https://gitlab.gnome.org/GNOME/chronojump/issues



commit d55b6c767eb872c1cb6a1be97fafd39d58712ee9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jul 23 16:11:25 2019 +0200

    Fixed On races show contact only if time is started https://gitlab.gnome.org/GNOME/chronojump/issues/110

 src/gui/eventExecute.cs | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index b4bd3567..a583d612 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -1518,6 +1518,12 @@ public partial class ChronoJumpWindow
 
        double getRunSRunINegativePTLTime (List<RunPhaseTimeListObject> runPTLInListForPainting)
        {
+               return 0;
+
+               /*
+                * inactive because when user stays lot of time (in contact) before the test, with this code 
the graph will have almost this contact status
+                * having above return 0; fixed this: https://gitlab.gnome.org/GNOME/chronojump/issues/110
+                *
                if(runPTLInListForPainting.Count > 0)
                {
                        //get first TC start value
@@ -1529,6 +1535,7 @@ public partial class ChronoJumpWindow
                }
 
                return 0;
+               */
        }
 
        double getRunSRunITimeTotalWithExtraPTLTime (double timeTotal, List<RunPhaseTimeListObject> 
runPTLInListForPainting, double negativePTLTime)


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