Improve selection halo scaling so it's not hard to see at large zooms.

This commit is contained in:
Jeff Young 2019-08-01 17:25:46 -06:00
parent 1ea9ad05bc
commit 2738848336
1 changed files with 3 additions and 3 deletions

View File

@ -228,10 +228,10 @@ float SCH_PAINTER::getShadowWidth()
{
const MATRIX3x3D& matrix = m_gal->GetScreenWorldMatrix();
if( matrix.GetScale().x < 5 )
return (float) fabs( matrix.GetScale().x * 4 );
if( matrix.GetScale().x > 20 )
return (float) fabs( matrix.GetScale().x * 5 );
else
return (float) fabs( matrix.GetScale().x * 3 );
return (float) fabs( matrix.GetScale().x * 4 );
}