Fix PCB_TEXT hit test, take two
Fixes https://gitlab.com/kicad/code/kicad/issues/9866
This commit is contained in:
parent
d0e9d4868c
commit
18ba6b4de8
|
@ -155,7 +155,7 @@ bool PCB_TEXT::TextHitTest( const EDA_RECT& aRect, bool aContains, int aAccuracy
|
||||||
if( aContains )
|
if( aContains )
|
||||||
return rect.Contains( GetBoundingBox() );
|
return rect.Contains( GetBoundingBox() );
|
||||||
|
|
||||||
return rect.Intersects( GetBoundingBox(), GetDrawRotation() );
|
return rect.Intersects( GetBoundingBox() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue