[chronojump] RaceAnalyzer graph capture radial show also data after capture



commit 7d8c4de781bcaed071a229da1b40d1ec9dc8b0ca
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 1 21:14:07 2021 +0200

    RaceAnalyzer graph capture radial show also data after capture

 src/gui/app1/runEncoder.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 8a86dcd0..ac00b0c9 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -1804,7 +1804,10 @@ public partial class ChronoJumpWindow
        CairoRadial cairoRadial;
        private void on_drawingarea_race_analyzer_capture_expose_event (object o, ExposeEventArgs args)
        {
-               cairoRadial = new CairoRadial(drawingarea_race_analyzer_capture, 
preferences.fontType.ToString());
+               if(cairoRadial == null)
+                       cairoRadial = new CairoRadial(drawingarea_race_analyzer_capture, 
preferences.fontType.ToString());
+
+               cairoRadial.GraphSpeedAndDistance(runEncoderCaptureSpeed, runEncoderCaptureDistance);
        }
 
        CairoGraphRaceAnalyzer cairoGraphRaceAnalyzer_dt;


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