[longomatch] Fix color of header buttons



commit 2aa4099efd6ae90e7cf9a3cfa606227c9279a4ae
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Sep 10 06:42:34 2014 +0200

    Fix color of header buttons

 LongoMatch.Drawing/CanvasObjects/CategoryObject.cs |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs 
b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
index 27bd1bd..545573e 100644
--- a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
@@ -146,13 +146,8 @@ namespace LongoMatch.Drawing.CanvasObjects
                        /* Draw header */
                        tk.FillColor = LongoMatch.Core.Common.Color.Grey2;
                        tk.LineWidth = 2;
-                       if (catSelected && Mode != TagMode.Edit) {
-                               tk.StrokeColor = Button.DarkColor;
-                               tk.DrawText (position, catWidth, heightPerRow, Button.EventType.Name);
-                       } else {
-                               tk.StrokeColor = LongoMatch.Core.Common.Color.Grey2;
-                               tk.DrawText (position, catWidth, heightPerRow, Button.EventType.Name);
-                       }
+                       tk.StrokeColor = Button.TextColor;
+                       tk.DrawText (position, catWidth, heightPerRow, Button.EventType.Name);
                        rects.Add (new Rectangle (position, catWidth, heightPerRow), Button);
                        yptr += heightPerRow;
 


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