mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-29 12:43:24 +08:00
优化画形状
This commit is contained in:
@@ -60,7 +60,11 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
pointList.Add(this.startPoint.Value);
|
||||
}
|
||||
pointList.Add(endPoint.Value);
|
||||
//点不需要保存的太密集了
|
||||
if ((endPoint.Value - pointList.Last()).Length >= 1)
|
||||
{
|
||||
pointList.Add(endPoint.Value);
|
||||
}
|
||||
}
|
||||
|
||||
UpdateSelection();
|
||||
|
||||
Reference in New Issue
Block a user