Correction probleme tc annotation
authorPAMPHILE Jonathan <pamphile@efrei.fr>
Tue, 17 Nov 2009 13:22:14 +0100
changeset 205 468f3757f1f8
parent 204 240314f2e5bf
child 206 89813df17ec2
Correction probleme tc annotation
src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs
src/FingersDance.GestureControl/GestureControl.cs
--- a/src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs	Tue Nov 17 13:21:49 2009 +0100
+++ b/src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs	Tue Nov 17 13:22:14 2009 +0100
@@ -130,11 +130,11 @@
 
                 UserControlPlayer.Player.Position = ts;
                 UserControlPlayer.playerPlay();
-                UserControlPlayer.Time = (float)SliderValue / 1000;
 
                 UCTimeLine.IsDragging = false;
                 UCTimeLine.FinishedDragging = false;
             }
+            UserControlPlayer.Time = (float)SliderValue / 1000;
             DataDictionary Data = (new DataFactory()).Data;
             UserControlPlayer.ApplyColor(Data.GetColors((int)((float)SliderValue / 1000)));
         }
--- a/src/FingersDance.GestureControl/GestureControl.cs	Tue Nov 17 13:21:49 2009 +0100
+++ b/src/FingersDance.GestureControl/GestureControl.cs	Tue Nov 17 13:22:14 2009 +0100
@@ -157,13 +157,13 @@
             try
             {
                 Thread.Sleep(1000);
-                start = -1;
                 CommonPattern();
                 string gesture = GetPattern(_Gestures);
                 if (gesture != "None")
                 {
                     this.RaiseGestureEvent(new Gesture{Start=start, End=time, Name=gesture});
                 }
+                start = -1;
                 _Gestures.Clear();
                 inProgess = null;
             }