equal
deleted
inserted
replaced
316 } |
316 } |
317 } |
317 } |
318 // if not, we mark the beginning |
318 // if not, we mark the beginning |
319 if (annotOk == true) |
319 if (annotOk == true) |
320 { |
320 { |
321 cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), AnnotTcBegin, 0, cut.AnnotList.Count.ToString(), CurrentColor)); |
321 Annotation annotation = new Annotation("s_" + System.Guid.NewGuid(), AnnotTcBegin, 0, gestureType, CurrentColor); |
322 cut.AnnotList.Add(annotation); |
322 cut.AnnotList.Add(annotation); |
323 tv.DataContext = new CuttingViewModel(cut, AnnotWidth, tv.ScaleX); |
323 tv.DataContext = new CuttingViewModel(cut, AnnotWidth, tv.ScaleX); |
324 AnnotWaiting = true; |
324 AnnotWaiting = true; |
325 } |
325 } |
326 } |
326 } |