mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-21 17:06:35 +08:00
xx
This commit is contained in:
@@ -356,7 +356,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
}
|
||||
else
|
||||
{
|
||||
node = new MindNode(Root, NodeLevel + 1, this.MindType) { Text = "分支主题" };
|
||||
node = new MindNode(Root, (NodeLevel)Math.Min((int)NodeLevel + 1, (int)NodeLevel.Level4), this.MindType) { Text = "分支主题" };
|
||||
}
|
||||
AddChild(node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user