HitTest improvement for EDA_TEXT

This commit is contained in:
Oliver Walters 2017-05-06 17:05:05 +10:00 committed by Maciej Suminski
parent b53ba56ac2
commit 1f1143743e
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ bool EDA_TEXT::TextHitTest( const EDA_RECT& aRect, bool aContains, int aAccuracy
if( aContains )
return rect.Contains( GetTextBox( -1 ) );
return rect.Intersects( GetTextBox( -1 ) );
return rect.Intersects( GetTextBox( -1 ), GetTextAngle() );
}