Browse Source

Don't ever draw hierarchical label shape in bus colour.

(We do still draw the text in bus colour if it's
connected to a bus.  This makes it consistent
with what we do for global labels.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19564
pcb_db
Jeff Young 9 months ago
parent
commit
2922d508de
  1. 11
      eeschema/sch_painter.cpp

11
eeschema/sch_painter.cpp

@ -2569,17 +2569,6 @@ void SCH_PAINTER::draw( const SCH_HIERLABEL* aLabel, int aLayer, bool aDimmed )
return;
}
if( m_schematic )
{
SCH_CONNECTION* conn = nullptr;
if( !aLabel->IsConnectivityDirty() )
conn = aLabel->Connection();
if( conn && conn->IsBus() )
color = getRenderColor( aLabel, LAYER_BUS, drawingShadows, aDimmed );
}
std::vector<VECTOR2I> pts;
std::deque<VECTOR2D> pts2;

Loading…
Cancel
Save