Skip to content

Commit 1695880

Browse files
committed
gui: add missing line segment to avoid flywires when snapping uses the center
Signed-off-by: Peter Gadfort <peter.gadfort@gmail.com>
1 parent b7e58f8 commit 1695880

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/gui/src/dbDescriptors.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,8 @@ std::set<odb::Line> DbNetDescriptor::convertGuidesToLines(
14681468
break;
14691469
}
14701470
}
1471-
lines.emplace(p0, p1);
1471+
lines.emplace(p0, center);
1472+
lines.emplace(center, p1);
14721473

14731474
if (guide->isConnectedToTerm()) {
14741475
std::vector<odb::Point> anchors = {p0, center, p1};

0 commit comments

Comments
 (0)