Corrected TEXTE_MODULE:GetBoundingBox() function.

This commit is contained in:
Maciej Suminski
2015-08-07 18:17:51 +02:00
parent 9ecc593aac
commit a4ffb065d4
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ const EDA_RECT TEXTE_MODULE::GetBoundingBox() const
EDA_RECT text_area = GetTextBox( -1, -1 );
if( angle )
text_area = text_area.GetBoundingBoxRotated( m_Pos, m_Orient );
text_area = text_area.GetBoundingBoxRotated( m_Pos, angle );
return text_area;
}