mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix merge mess-up.
(cherry picked from commit 727fc9bd064e9349bd01501e210eb55e6b0207f9)
This commit is contained in:
parent
1de9a83ff0
commit
11df4b32eb
@ -1546,11 +1546,11 @@ double PCB_VIA::ViewGetLOD( int aLayer, const KIGFX::VIEW* aView ) const
|
||||
}
|
||||
|
||||
// Netnames will be shown only if zoom is appropriate
|
||||
return width == 0 ? LOD_HIDE : ( (double) pcbIUScale.mmToIU( 10 ) / width );
|
||||
return lodScaleForThreshold( aView, width, pcbIUScale.mmToIU( 10 ) );
|
||||
}
|
||||
|
||||
if( !IsCopperLayer( aLayer ) )
|
||||
return (double) pcbIUScale.mmToIU( 0.6 ) / width;
|
||||
return lodScaleForThreshold( aView, width, pcbIUScale.mmToIU( 0.6 ) );
|
||||
|
||||
return LOD_SHOW;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user