mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-08 02:06:40 +08:00
附加信息准备中
This commit is contained in:
@@ -129,6 +129,10 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
AddLabel(_text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
DeleteLabel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -791,7 +795,10 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
label.UpdatePosition(paths);
|
||||
}
|
||||
|
||||
|
||||
public void DeleteLabel()
|
||||
{
|
||||
Labels?.Clear();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user