[chronojump] Jumps/general graph. Fixed graph black palette since 1.9.1 (unpublished)



commit e60c97a19a0fe4f5643947374962ee05b2586e26
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jan 7 17:26:57 2020 +0100

    Jumps/general graph. Fixed graph black palette since 1.9.1 (unpublished)

 src/constants.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/constants.cs b/src/constants.cs
index c3d56922..a7a83992 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -578,7 +578,11 @@ public class Constants
        public static string GraphPaletteGray = "gray.colors";
        public static string GraphPaletteBlackStr()
        {
-               return Catalog.GetString("black only");
+               //return Catalog.GetString("black only");
+               //not show translated because on app1 creation, this is written in English
+               //and then on check if is the selected then some params change
+               //and we need to ensure that no space arrives to R
+               return "black";
        }
        public static string [] GraphPalettes = { GraphPaletteBlackStr(), GraphPaletteGray, "rainbow",
                "topo.colors", "heat.colors", "terrain.colors", "cm.colors"};


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