# HG changeset patch # User PAMPHILE Jonathan # Date 1258139603 -3600 # Node ID e738cd9c1b9987d370b818495bfbe7342a3f5d28 # Parent 48b3139bb18253bfa98750748b65317c4385c246 Dictionnaire de données diff -r 48b3139bb182 -r e738cd9c1b99 src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs --- a/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs Fri Nov 13 20:10:00 2009 +0100 +++ b/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs Fri Nov 13 20:13:23 2009 +0100 @@ -318,7 +318,7 @@ // if not, we mark the beginning if (annotOk == true) { - cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), AnnotTcBegin, 0, cut.AnnotList.Count.ToString(), CurrentColor)); + Annotation annotation = new Annotation("s_" + System.Guid.NewGuid(), AnnotTcBegin, 0, gestureType, CurrentColor); cut.AnnotList.Add(annotation); tv.DataContext = new CuttingViewModel(cut, AnnotWidth, tv.ScaleX); AnnotWaiting = true;