[chronojump/FS-TFT-Menu] cont of last commit



commit 7c0e502f44de98b48ead8a6398d3e5b027723d33
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Apr 26 17:07:06 2022 +0200

    cont of last commit

 src/gui/cairo/raceAnalyzer.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/cairo/raceAnalyzer.cs b/src/gui/cairo/raceAnalyzer.cs
index 60cc9964e..0003b8bff 100644
--- a/src/gui/cairo/raceAnalyzer.cs
+++ b/src/gui/cairo/raceAnalyzer.cs
@@ -97,7 +97,10 @@ public class CairoGraphRaceAnalyzer : CairoXY
                if(points_list == null || points_list.Count == 0)
                {
                        if(! graphInited)
-                               initGraph( font, 1, (maxValuesChanged || forceRedraw) );
+                       {
+                               initGraph(font, 1, true);
+                               graphInited = true;
+                       }
 
                        paintAxis();
                        return graphInited;


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