pcbnew: show clearance when move or drag via

This commit is contained in:
Andrey Fedorushkov 2012-06-13 17:32:43 +04:00
parent c4c2cd3acd
commit f7755bdcec
1 changed files with 3 additions and 1 deletions

View File

@ -874,8 +874,10 @@ void SEGVIA::Draw( EDA_DRAW_PANEL* panel, wxDC* DC, int draw_mode, const wxPoint
}
}
if( DisplayOpt.ShowTrackClearanceMode == SHOW_CLEARANCE_ALWAYS )
if( ShowClearance( this ) )
{
GRCircle( panel->GetClipBox(), DC, m_Start + aOffset, radius + GetClearance(), 0, color );
}
// for Micro Vias, draw a partial cross : X on component layer, or + on copper layer
// (so we can see 2 superimposed microvias ):