[chronojump] Check of RSA on cairo runI realtime graph done in other method



commit 8dc6e2408bd8b1cb7787c895c2cb10abae8ea5bf
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Sep 14 00:27:32 2021 +0200

    Check of RSA on cairo runI realtime graph done in other method

 src/gui/eventExecute.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 8d24fffca..afbca4ae2 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -543,10 +543,6 @@ public partial class ChronoJumpWindow
                        if(currentEventExecute == null || 
currentEventExecute.PrepareEventGraphRunIntervalRealtimeCaptureObject == null)
                                return;
 
-                       //discard RSA
-                       if( 
currentEventExecute.PrepareEventGraphRunIntervalObject.distancesString.Contains("R") )
-                               return;
-
                        PrepareRunIntervalRealtimeCaptureGraph(
                                        currentEventExecute.PrepareEventGraphRunIntervalObject.distance,
                                        currentEventExecute.PrepareEventGraphRunIntervalObject.lastTime,
@@ -840,6 +836,10 @@ public partial class ChronoJumpWindow
        // Reactive jump
        public void PrepareRunIntervalRealtimeCaptureGraph (double distance, double lastTime, string 
timesString, double distanceTotal, string distancesString, string type)
        {
+               //discard RSA (at the moment)
+               if( currentEventExecute.PrepareEventGraphRunIntervalObject.distancesString.Contains("R") )
+                       return;
+
                cairoPaintBarsPreRealTime = new CairoPaintBarsPreRunIntervalRealtimeCapture(
                                event_execute_drawingarea_realtime_capture_cairo, 
preferences.fontType.ToString(), current_mode,
                                currentPerson.Name, "test type", preferences.digitsNumber,// 
preferences.heightPreferred,


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