Minor fixes.

This commit is contained in:
jean-pierre charras 2018-11-03 14:30:34 +01:00
parent 569d4a0f64
commit 15fa8f8a22
3 changed files with 3 additions and 3 deletions

View File

@ -1342,7 +1342,7 @@ unsigned int D_PAD::ViewGetLOD( int aLayer, KIGFX::VIEW* aView ) const
if( divisor == 0 )
return HIDE;
return ( Millimeter2iu( 20 ) / divisor );
return ( Millimeter2iu( 10 ) / divisor );
}
// Other layers are shown without any conditions

View File

@ -770,7 +770,7 @@ unsigned int TRACK::ViewGetLOD( int aLayer, KIGFX::VIEW* aView ) const
// Netnames will be shown only if zoom is appropriate
if( IsNetnameLayer( aLayer ) )
{
return ( 4000000 / ( m_Width + 1 ) );
return ( Millimeter2iu( 4 ) / ( m_Width + 1 ) );
}
// Other layers are shown without any conditions

View File

@ -2159,7 +2159,7 @@ void SELECTION_TOOL::guessSelectionCandidates( GENERAL_COLLECTOR& aCollector,
continue;
// reject ALL OTHER footprints if there's still something else left
// to select
else if( rejected.size() + 1 < aCollector.GetCount() )
else if( int( rejected.size() + 1 ) < aCollector.GetCount() )
rejected.insert( mod );
}
}