[longomatch] Fix redraw after moving a button and rounding the position



commit 227983702b90b209493e29d6b3f1436b6b850b7e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Oct 16 18:14:03 2014 +0200

    Fix redraw after moving a button and rounding the position

 LongoMatch.Drawing/Widgets/DashboardCanvas.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
index 282b524..c95aa75 100644
--- a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
+++ b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
@@ -194,6 +194,7 @@ namespace LongoMatch.Drawing.Widgets
                                tb.Position.Y = Utils.Round (tb.Position.Y, i);
                                tb.Width = (int)Utils.Round (tb.Width, i);
                                tb.Height = (int)Utils.Round (tb.Height, i);
+                               (sel.Drawable as TaggerObject).ResetDrawArea ();
                                widget.ReDraw ();
                        }
 


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