Minor fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user