HitTest improvement for EDA_TEXT
This commit is contained in:
parent
b53ba56ac2
commit
1f1143743e
|
@ -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() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue