Move no-connect symbols closer to the front for rendering.
Fixes: lp:1803124 * https://bugs.launchpad.net/kicad/+bug/1803124
This commit is contained in:
parent
e52688586a
commit
a60066115b
|
@ -79,6 +79,13 @@ const EDA_RECT SCH_NO_CONNECT::GetBoundingBox() const
|
|||
}
|
||||
|
||||
|
||||
void SCH_NO_CONNECT::ViewGetLayers( int aLayers[], int& aCount ) const
|
||||
{
|
||||
aLayers[0] = LAYER_NOCONNECT;
|
||||
aCount = 1;
|
||||
}
|
||||
|
||||
|
||||
void SCH_NO_CONNECT::GetEndPoints( std::vector< DANGLING_END_ITEM >& aItemList )
|
||||
{
|
||||
DANGLING_END_ITEM item( NO_CONNECT_END, this, m_pos );
|
||||
|
|
|
@ -60,6 +60,8 @@ public:
|
|||
|
||||
void SwapData( SCH_ITEM* aItem ) override;
|
||||
|
||||
void ViewGetLayers( int aLayers[], int& aCount ) const override;
|
||||
|
||||
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
|
||||
GR_DRAWMODE aDrawMode, COLOR4D aColor = COLOR4D::UNSPECIFIED ) override;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ static const LAYER_NUM SCH_LAYER_ORDER[] =
|
|||
LAYER_GP_OVERLAY, LAYER_SELECT_OVERLAY,
|
||||
LAYER_ERC_ERR, LAYER_ERC_WARN,
|
||||
LAYER_REFERENCEPART, LAYER_VALUEPART, LAYER_FIELDS,
|
||||
LAYER_JUNCTION,
|
||||
LAYER_JUNCTION, LAYER_NOCONNECT,
|
||||
LAYER_WIRE, LAYER_BUS,
|
||||
LAYER_DEVICE,
|
||||
LAYER_DEVICE_BACKGROUND,
|
||||
|
|
Loading…
Reference in New Issue