Correction probleme tc annotation
authorPAMPHILE Jonathan <pamphile@efrei.fr>
Tue, 17 Nov 2009 13:21:49 +0100
changeset 204 240314f2e5bf
parent 202 e15e7110ef6d
child 205 468f3757f1f8
Correction probleme tc annotation
src/FingersDance.GestureControl/GestureControl.cs
--- a/src/FingersDance.GestureControl/GestureControl.cs	Mon Nov 16 18:06:15 2009 +0100
+++ b/src/FingersDance.GestureControl/GestureControl.cs	Tue Nov 17 13:21:49 2009 +0100
@@ -157,6 +157,7 @@
             try
             {
                 Thread.Sleep(1000);
+                start = -1;
                 CommonPattern();
                 string gesture = GetPattern(_Gestures);
                 if (gesture != "None")
@@ -164,7 +165,6 @@
                     this.RaiseGestureEvent(new Gesture{Start=start, End=time, Name=gesture});
                 }
                 _Gestures.Clear();
-                start = -1;
                 inProgess = null;
             }
             catch (Exception)