Commit 6f9fc8d2 authored by Marco Mattila's avatar Marco Mattila

Fix drawing of mirrored texts in pcbnew.

parent 146b7899
......@@ -348,7 +348,7 @@ void DrawGraphicText( EDA_DRAW_PANEL* aPanel,
/* if a text size is too small, the text cannot be drawn, and it is drawn as a single
* graphic line */
if( aSize.x < 3 )
if( ABS( aSize.x ) < 3 )
{
/* draw the text as a line always vertically centered */
wxPoint end( current_char_pos.x + dx, current_char_pos.y );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment