Fixed issue where rightangle 3,5 segment wasn't plotted equidistantly.

This commit is contained in:
Giorgos Vyronos 2022-03-26 11:12:33 +00:00
parent a92cd4ea53
commit 781a47236d

View file

@ -446,8 +446,8 @@ let initialWireVerticesFromPorts
[
{X = startX; Y = startY};
{X = startX + Wire.stickLength; Y = startY};
{X = startX + Wire.stickLength; Y = startY + 1.5 * Wire.stickLength};
{X = endX; Y = startY + 1.5 * Wire.stickLength};
{X = startX + Wire.stickLength; Y = (startY + endY)/2.0};
{X = endX; Y = (startY + endY)/2.0};
{X = endX; Y = endY - Wire.stickLength};
{X = endX; Y = endY - Wire.stickLength};
{X = endX; Y = endY - Wire.stickLength};