mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 00:37:19 +08:00
mind多个根节点的时候,切换模式的修复
This commit is contained in:
@@ -77,6 +77,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
EnabledForConnection = false;
|
||||
AlwayForResized = true;
|
||||
CustomText = true;
|
||||
IsInnerConnector = true;
|
||||
|
||||
AddChildCommand = (Root as IMindDiagramViewModel)?.AddChildCommand;
|
||||
AddParentCommand = (Root as IMindDiagramViewModel)?.AddParentCommand;
|
||||
@@ -100,8 +101,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
var layout = TypeHelper.GetType(this.MindType.ToString() + "Layout");
|
||||
MindLayout = layout != null ? (System.Activator.CreateInstance(layout) as IMindLayout) : new MindLayout();
|
||||
|
||||
this.PropertyChanged -= this.Item_PropertyChanged;
|
||||
IsInnerConnector = true;
|
||||
this.PropertyChanged -= this.Item_PropertyChanged;
|
||||
MindLayout.Appearance(this, MindTheme, initAppearance);
|
||||
this.PropertyChanged += this.Item_PropertyChanged;
|
||||
}
|
||||
@@ -348,6 +348,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
}
|
||||
|
||||
private string _remark;
|
||||
[Browsable(true)]
|
||||
public string Remark
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user