[longomatch] Reset draw ares after zooming



commit ea57531393809a4a2294cb033c5f64b126588f9b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Oct 8 21:52:01 2014 +0200

    Reset draw ares after zooming

 LongoMatch.Drawing/CanvasObjects/TimelineObject.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs 
b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
index bb05b29..0806295 100644
--- a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
@@ -63,6 +63,7 @@ namespace LongoMatch.Drawing.CanvasObjects
                                secondsPerPixel = value;
                                foreach (TimeNodeObject to in nodes) {
                                        to.SecondsPerPixel = secondsPerPixel;
+                                       to.ResetDrawArea ();
                                }
                        }
                        protected get {


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