This commit is contained in:
艾竹
2023-03-10 12:09:13 +08:00
parent e4f6335224
commit b3c7e1efec
20 changed files with 442 additions and 255 deletions

View File

@@ -57,7 +57,7 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
if (designerbase is FlowNodeDesignerItem designer)
{
this.Color = designer.Color;
this.StatusColor = designer.Color;
this.Kind = designer.Kind;
this.StateImage = designer.StateImage;
@@ -75,7 +75,7 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
var flowchartNode = new FlowchartNode();
flowchartNode.Name = Name;
flowchartNode.Color = Color;
flowchartNode.StatusColor = StatusColor;
flowchartNode.Kind = Kind;
if (this is MiddleFlowNode middleflowNode)
{
@@ -88,7 +88,7 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
private string _color = "#1890ff";
[Browsable(false)]
public string Color
public string StatusColor
{
get { return _color; }
set