Corrected TEXTE_MODULE:GetBoundingBox() function.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user