From 5ba490017010e6f81846fbf4fafd8fd0ce639427 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 11 May 2024 13:01:19 +0100 Subject: [PATCH] Fix typo. --- 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 6c5d734f7c..82cb0df92f 100644 --- a/pcbnew/pcb_text.cpp +++ b/pcbnew/pcb_text.cpp @@ -398,7 +398,7 @@ const BOX2I PCB_TEXT::GetBoundingBox() const rect.Inflate( getKnockoutMargin() ); if( !angle.IsZero() ) - rect = rect.GetBoundingBoxRotated( GetTextPos(), GetTextAngle() ); + rect = rect.GetBoundingBoxRotated( GetTextPos(), angle ); return rect; }