Commit fb52997c authored by faa's avatar faa

eeschema: plot minor bug

parent ef557ddb
...@@ -798,16 +798,16 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter, ...@@ -798,16 +798,16 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter,
GR_TEXT_VJUSTIFY_CENTER, GR_TEXT_VJUSTIFY_CENTER,
aWidth, false, false ); aWidth, false, false );
} }
if( DrawPinNum ) }
{ if( DrawPinNum )
plotter->text( wxPoint( (x1 + pin_pos.x) / 2, {
y1 - TXTMARGE ), plotter->text( wxPoint( (x1 + pin_pos.x) / 2,
NumColor, StringPinNum, y1 - TXTMARGE ),
TEXT_ORIENT_HORIZ, PinNumSize, NumColor, StringPinNum,
GR_TEXT_HJUSTIFY_CENTER, TEXT_ORIENT_HORIZ, PinNumSize,
GR_TEXT_VJUSTIFY_BOTTOM, GR_TEXT_HJUSTIFY_CENTER,
aWidth, false, false ); GR_TEXT_VJUSTIFY_BOTTOM,
} aWidth, false, false );
} }
} }
else /* Its a vertical line. */ else /* Its a vertical line. */
......
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