From 18ba6b4de8b9b98dfb96e19f7ef7e9f535c09a3a Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 6 Dec 2021 01:05:14 +0100 Subject: [PATCH] Fix PCB_TEXT hit test, take two Fixes https://gitlab.com/kicad/code/kicad/issues/9866 --- pcbnew/pcb_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_text.cpp b/pcbnew/pcb_text.cpp index 8b55eb186e..d53cab2e28 100644 --- a/pcbnew/pcb_text.cpp +++ b/pcbnew/pcb_text.cpp @@ -155,7 +155,7 @@ bool PCB_TEXT::TextHitTest( const EDA_RECT& aRect, bool aContains, int aAccuracy if( aContains ) return rect.Contains( GetBoundingBox() ); - return rect.Intersects( GetBoundingBox(), GetDrawRotation() ); + return rect.Intersects( GetBoundingBox() ); }