Improve selection halo scaling so it's not hard to see at large zooms.
This commit is contained in:
parent
1ea9ad05bc
commit
2738848336
|
@ -228,10 +228,10 @@ float SCH_PAINTER::getShadowWidth()
|
||||||
{
|
{
|
||||||
const MATRIX3x3D& matrix = m_gal->GetScreenWorldMatrix();
|
const MATRIX3x3D& matrix = m_gal->GetScreenWorldMatrix();
|
||||||
|
|
||||||
if( matrix.GetScale().x < 5 )
|
if( matrix.GetScale().x > 20 )
|
||||||
return (float) fabs( matrix.GetScale().x * 4 );
|
return (float) fabs( matrix.GetScale().x * 5 );
|
||||||
else
|
else
|
||||||
return (float) fabs( matrix.GetScale().x * 3 );
|
return (float) fabs( matrix.GetScale().x * 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue