diff -r d70ee2002f75 -r 3a407c966e57 src/FingersDance.ViewModel/AnnotationViewModel.cs --- a/src/FingersDance.ViewModel/AnnotationViewModel.cs Sun Oct 25 12:38:45 2009 +0100 +++ b/src/FingersDance.ViewModel/AnnotationViewModel.cs Sun Oct 25 12:55:07 2009 +0100 @@ -16,7 +16,18 @@ private Color _color; private float _marginLeft; + private Double _scaleX = 1; + public AnnotationViewModel(Annotation a, float marginLeft, Double scaleX) + { + this._tcBegin = a.TcBegin; + this._dur = a.Dur; + this._gestureType = a.GestureType; + this._color = a.Color; + this._marginLeft = marginLeft; + this._marginLeft = marginLeft; + this._scaleX = scaleX; + } public AnnotationViewModel(Annotation a, float marginLeft) { this._tcBegin = a.TcBegin; @@ -80,6 +91,17 @@ base.OnPropertyChanged("MarginLeft"); } } + public Double ScaleX + { + get { return _scaleX; } + set + { + if (value == _scaleX || Double.IsNaN(value)) + return; + _scaleX = value; + base.OnPropertyChanged("ScaleX"); + } + } } }