[longomatch] Connect zoom scale signal



commit fbaf905c4091dbf41e9627a57d119e60a86ef4f7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Nov 29 22:02:52 2011 +0100

    Connect zoom scale signal

 LongoMatch.GUI/Gui/Base/TimelineWidgetBase.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Base/TimelineWidgetBase.cs b/LongoMatch.GUI/Gui/Base/TimelineWidgetBase.cs
index 3c43b40..34a127e 100644
--- a/LongoMatch.GUI/Gui/Base/TimelineWidgetBase.cs
+++ b/LongoMatch.GUI/Gui/Base/TimelineWidgetBase.cs
@@ -124,6 +124,7 @@ namespace LongoMatch.Gui.Base
 		{
 			SetPixelRatio(10);
 			tsList = new Dictionary<object, W>();
+			ZoomScale.ValueChanged += (sender, e) => {SetPixelRatio((uint)ZoomScale.Value);};
 		}
 
 		public Z SelectedTimeNode {



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