src/FingersDance.ViewModel/CuttingViewModel.cs
changeset 167 206f07a8d887
parent 146 dd8ed4d3beb6
child 182 25b49d4f1635
--- a/src/FingersDance.ViewModel/CuttingViewModel.cs	Wed Oct 21 16:28:49 2009 +0200
+++ b/src/FingersDance.ViewModel/CuttingViewModel.cs	Thu Oct 22 14:48:43 2009 +0200
@@ -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++;
             }