[chronojump/FS-TFT-Menu] Fixed position of an ecc phase while capture on CairoBarsNHSeries since lasts commits
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] Fixed position of an ecc phase while capture on CairoBarsNHSeries since lasts commits
- Date: Wed, 20 Apr 2022 11:59:22 +0000 (UTC)
commit ca4c1d438ecf77ff6f882c37693e28c369d488a7
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 31 12:40:41 2022 +0200
Fixed position of an ecc phase while capture on CairoBarsNHSeries since lasts commits
src/gui/eventExecute.cs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 1d2c33a1e..4cb810e61 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -3686,13 +3686,6 @@ public class CairoPaintBarplotPreEncoder : CairoPaintBarsPre
//for (int count = 0; count < pegbe.data9Variables.Count; count ++)
// int countNames = 0;
- //if !c && is "impar" (uneven), add a null to B
- if (pegbe.eccon != "c" && ! Util.IsEven(pegbe.data9Variables.Count))
- {
- barB_l.Add(null);
- colorMain_l.Add(CairoGeneric.colorFromGdk(UtilGtk.GRAY)); //this color will not be
shown is just to match barB_l with colorMain_l
- }
-
//we used data because this array has only the reps not discarded by showNRepetitions
for (count = 0; count < data.Count ; count ++)
{
@@ -3818,6 +3811,13 @@ public class CairoPaintBarplotPreEncoder : CairoPaintBarsPre
iterOk = pegbe.encoderCaptureListStore.IterNext (ref iter);
}
+
+ //if !c && is "impar" (uneven), add a null to B
+ if (pegbe.eccon != "c" && ! Util.IsEven(pegbe.data9Variables.Count))
+ {
+ barB_l.Add(null);
+ colorMain_l.Add(CairoGeneric.colorFromGdk(UtilGtk.GRAY)); //this color will not be
shown is just to match barB_l with colorMain_l
+ }
}
private void prepareTitle ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]