public LayerModel() { Children = new ChildItemCollection <LayerModel, LayerModel>(this); TweenModel = new TweenModel(this); var model = Properties as KeyboardPropertiesModel; if (model != null) { GifImage = new GifImage(model.GifFile); } }
public LayerModel() { Children = new ChildItemCollection <LayerModel, LayerModel>(this); TweenModel = new TweenModel(this); RenderAllowed = true; var model = Properties as KeyboardPropertiesModel; if (model != null) { GifImage = new GifImage(model.GifFile, Properties.AnimationSpeed); } }