[longomatch] Fix Exception initializing Time and X
- From: Andoni Morales Alastruey <amorales src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [longomatch] Fix Exception initializing Time and X
 
- Date: Tue, 28 Oct 2014 09:56:08 +0000 (UTC)
 
commit 2fc8cbb7620ea8bcec8cec0785cc46400a89749e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 28 01:08:21 2014 +0100
    Fix Exception initializing Time and X
 LongoMatch.Drawing/CanvasObjects/NeedleObject.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs 
b/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
index f8074d6..ca3a14d 100644
--- a/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
@@ -35,6 +35,8 @@ namespace LongoMatch.Drawing.CanvasObjects
                                needle = Config.DrawingToolkit.CreateSurface (img.Width, img.Height, img, 
false);
                        }
                        Width = needle.Width;
+                       X = 0;
+                       TimelineHeight = 0;
                }
 
                protected override void Dispose (bool disposing)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]