mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 00:37:19 +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
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
ColorItem = new ColorItem() { LineColor = new ColorObjectItem(), FillColor = new ColorObjectItem() };
|
||||
FontItem = new FontItem();
|
||||
SharpItem = new SharpItem() { SourceMarker = new SharpPathItem(), SinkMarker = new SharpPathItem() };
|
||||
AnimationItem = new AnimationItem() { AnimationPath = new SharpPathItem() };
|
||||
}
|
||||
|
||||
public SelectableItemBase(SelectableViewModelBase viewmodel)
|
||||
|
||||
Reference in New Issue
Block a user