--- 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++;
}