src/FingersDance.ViewModel/CuttingViewModel.cs
changeset 169 3a407c966e57
parent 167 206f07a8d887
child 182 25b49d4f1635
--- a/src/FingersDance.ViewModel/CuttingViewModel.cs	Sun Oct 25 12:38:45 2009 +0100
+++ b/src/FingersDance.ViewModel/CuttingViewModel.cs	Sun Oct 25 12:55:07 2009 +0100
@@ -46,14 +46,14 @@
             }
         }
 
-        public void setListFromAnnotations(List<Annotation> annotList, float annotWidth)
+        public void setListFromAnnotations(List<Annotation> annotList, float annotWidth, Double scaleX)
         {
 
             this._annotList = new List<AnnotationViewModel>();
             int i = 0;
             foreach (Annotation annot in annotList)
             {
-                this._annotList.Add(new AnnotationViewModel(annot, annot.TcBegin - (i * annotWidth)));
+                this._annotList.Add(new AnnotationViewModel(annot, annot.TcBegin - (i * annotWidth), 1/scaleX));
                 i++;
             }