public TimelineKeyframeViewModel(LayerPropertyKeyframe <T> layerPropertyKeyframe, IProfileEditorService profileEditorService)
        {
            _profileEditorService = profileEditorService;
            LayerPropertyKeyframe = layerPropertyKeyframe;
            EasingViewModels      = new BindableCollection <TimelineEasingViewModel>();

            _profileEditorService.PixelsPerSecondChanged += ProfileEditorServiceOnPixelsPerSecondChanged;
            LayerPropertyKeyframe.PropertyChanged        += LayerPropertyKeyframeOnPropertyChanged;
        }
Example #2
0
 public TimelineKeyframeViewModel(LayerPropertyKeyframe <T> layerPropertyKeyframe, IProfileEditorService profileEditorService)
 {
     _profileEditorService = profileEditorService;
     LayerPropertyKeyframe = layerPropertyKeyframe;
     EasingViewModels      = new BindableCollection <TimelineEasingViewModel>();
 }