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