mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-05-04 06:51:28 +08:00
josn保存的bug
This commit is contained in:
@@ -230,7 +230,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
|||||||
public static T Mapper<T>(IAnimationViewModel s) where T : IAnimationViewModel
|
public static T Mapper<T>(IAnimationViewModel s) where T : IAnimationViewModel
|
||||||
{
|
{
|
||||||
var d = CopyHelper.Mapper<T, IAnimationViewModel>(s);
|
var d = CopyHelper.Mapper<T, IAnimationViewModel>(s);
|
||||||
d.AnimationPath = CopyHelper.Mapper<SharpPathItem, ISharpPath>(s.AnimationPath);
|
d.AnimationPath = CopyHelper.Mapper<SharpPathItem, ISharpPath>(s.AnimationPath);
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
|||||||
ColorItem = new ColorItem() { LineColor = new ColorObjectItem(), FillColor = new ColorObjectItem() };
|
ColorItem = new ColorItem() { LineColor = new ColorObjectItem(), FillColor = new ColorObjectItem() };
|
||||||
FontItem = new FontItem();
|
FontItem = new FontItem();
|
||||||
SharpItem = new SharpItem() { SourceMarker = new SharpPathItem(), SinkMarker = new SharpPathItem() };
|
SharpItem = new SharpItem() { SourceMarker = new SharpPathItem(), SinkMarker = new SharpPathItem() };
|
||||||
|
AnimationItem = new AnimationItem() { AnimationPath = new SharpPathItem() };
|
||||||
}
|
}
|
||||||
|
|
||||||
public SelectableItemBase(SelectableViewModelBase viewmodel)
|
public SelectableItemBase(SelectableViewModelBase viewmodel)
|
||||||
|
|||||||
Reference in New Issue
Block a user