Skip to content

Commit 9a6e4d8

Browse files
authored
Merge pull request #7867 from gadfort/gui-flywires
gui: always draw flywires unless routing or guides are available
2 parents 10fa073 + 4a6893e commit 9a6e4d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gui/src/dbDescriptors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,9 +1621,9 @@ void DbNetDescriptor::highlight(std::any object, Painter& painter) const
16211621
}
16221622
}
16231623

1624-
bool draw_flywires = painter.getOptions()->isFlywireHighlightOnly();
1624+
bool draw_flywires = true;
16251625

1626-
if (!draw_flywires) {
1626+
if (!painter.getOptions()->isFlywireHighlightOnly()) {
16271627
odb::dbWire* wire = net->getWire();
16281628
if (wire) {
16291629
draw_flywires = false;

0 commit comments

Comments
 (0)