Fix a minor bug relative to SCH_MARKERs introduced in rev 6014
This commit is contained in:
parent
6dd0073130
commit
21b98f40b7
|
@ -91,8 +91,8 @@ void SCH_MARKER::Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC,
|
|||
|
||||
if( GetMarkerType() == MARKER_BASE::MARKER_ERC )
|
||||
{
|
||||
color = ( GetErrorLevel() == WAR ) ? GetLayerColor( LAYER_ERC_WARN ) :
|
||||
GetLayerColor( LAYER_ERC_ERR );
|
||||
color = ( GetErrorLevel() == MARKER_BASE::MARKER_SEVERITY_ERROR ) ?
|
||||
GetLayerColor( LAYER_ERC_ERR ) : GetLayerColor( LAYER_ERC_WARN );
|
||||
}
|
||||
|
||||
if( aColor < 0 )
|
||||
|
|
Loading…
Reference in New Issue