Browse Source

Must also set local coords when moving footprint texts.

Fixes: lp:1782542
* https://bugs.launchpad.net/kicad/+bug/1782542
pull/17/head
Jeff Young 7 years ago
parent
commit
3c1dc9e5c6
  1. 3
      pcbnew/dialogs/dialog_text_properties.cpp

3
pcbnew/dialogs/dialog_text_properties.cpp

@ -295,6 +295,9 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
m_edaText->SetThickness( m_thickness.GetValue() );
m_edaText->SetTextPos( wxPoint( m_posX.GetValue(), m_posY.GetValue() ) );
if( m_modText )
m_modText->SetLocalCoord();
// Test for acceptable values for thickness and size and clamp if fails
int maxthickness = Clamp_Text_PenSize( m_edaText->GetThickness(), m_edaText->GetTextSize() );

Loading…
Cancel
Save