Factor line width into global label shape.

Fixes https://gitlab.com/kicad/code/kicad/issues/4323
This commit is contained in:
Jeff Young 2020-05-05 16:52:12 +01:00
parent 67bccaf465
commit df37887b1f
1 changed files with 1 additions and 1 deletions

View File

@ -912,7 +912,7 @@ void SCH_GLOBALLABEL::CreateGraphicShape( RENDER_SETTINGS* aRenderSettings,
int symb_len = LenSize( GetShownText(), linewidth ) + 2 * margin;
int x = symb_len + linewidth + 3;
int y = halfSize;
int y = halfSize + linewidth + 3;
aPoints.clear();