[longomatch/gameunits] Connect zoom scale signal
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/gameunits] Connect zoom scale signal
- Date: Mon, 5 Dec 2011 21:06:23 +0000 (UTC)
commit 72b4b4a6284f68280801166e602cce65c3d326f1
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]