[chronojump] Encoder bars show clickable icon when not capturing



commit 644928b9a9cf0ad6cadada37ea21a56ae95d5d80
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 21 16:42:56 2022 +0100

    Encoder bars show clickable icon when not capturing

 src/gui/eventExecute.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 291f20d05..061779993 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -3585,7 +3585,7 @@ public class CairoPaintBarplotPreEncoder : CairoPaintBarsPre
                        cb.GraphDo (dataA_l, new List<List<PointF>>(), false,
                                        colorMain_l, new List<Cairo.Color>(), names_l,
                                        "", "", false,
-                                       14, 8, "my title", true);
+                                       14, 8, "my title", ! pegbe.capturing);
                else {
                        List<List<PointF>> pointSecondary_ll = new List<List<PointF>>();
                        pointSecondary_ll.Add(dataA_l);
@@ -3593,7 +3593,7 @@ public class CairoPaintBarplotPreEncoder : CairoPaintBarsPre
                        cb.GraphDo (dataB_l, pointSecondary_ll, false,
                                        colorMain_l, colorSecondary_l, names_l,
                                        "Ecc", "Con", true,
-                                       14, 8, "my title", true);
+                                       14, 8, "my title", ! pegbe.capturing);
                }
        }
 }


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