[longomatch] Don't take in account filtered events for selection



commit 98553e7af9426744888d9cd53afe0a7a4e74c4b8
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Oct 9 16:38:22 2014 +0200

    Don't take in account filtered events for selection

 LongoMatch.Drawing/CanvasObjects/TimelineObject.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs 
b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
index 1e1a462..d68c2ac 100644
--- a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
@@ -178,9 +178,8 @@ namespace LongoMatch.Drawing.CanvasObjects
                        if (point.Y >= OffsetY && point.Y < OffsetY + Height) {
                                foreach (TimeNodeObject po in nodes) {
                                        Selection tmp;
-                                       if (!po.Visible) {
+                                       if (!TimeNodeObjectIsVisible (po))
                                                continue;
-                                       }
                                        tmp = po.GetSelection (point, precision);
                                        if (tmp == null) {
                                                continue;


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