删除多余的

This commit is contained in:
艾竹
2023-02-04 12:19:08 +08:00
parent bf5717cf25
commit 0d6debe87f
5 changed files with 6 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ namespace AIStudio.Wpf.DiagramDesigner
paths[i] = FormattableString.Invariant($"M {route[i].X} {route[i].Y} L {route[i + 1].X} {route[i + 1].Y}");
}
return new PathGeneratorResult(paths, sourceAngle, route[0], targetAngle, route[route.Length - 1], route);
return new PathGeneratorResult(paths, sourceAngle, route[0], targetAngle, route[route.Length - 1]);
}
private const int const_margin = 20;