Properly initialize SCH_TEXT spin style
This commit is contained in:
parent
22de7256ae
commit
f35b0446e6
|
@ -209,12 +209,12 @@ SCH_TEXT::SCH_TEXT( const wxPoint& pos, const wxString& text, KICAD_T aType ) :
|
||||||
EDA_TEXT( text ),
|
EDA_TEXT( text ),
|
||||||
m_shape( PINSHEETLABEL_SHAPE::PS_INPUT ),
|
m_shape( PINSHEETLABEL_SHAPE::PS_INPUT ),
|
||||||
m_isDangling( false ),
|
m_isDangling( false ),
|
||||||
m_connectionType( CONNECTION_TYPE::NONE ),
|
m_connectionType( CONNECTION_TYPE::NONE )
|
||||||
m_spin_style( LABEL_SPIN_STYLE::LEFT )
|
|
||||||
{
|
{
|
||||||
m_layer = LAYER_NOTES;
|
m_layer = LAYER_NOTES;
|
||||||
|
|
||||||
SetTextPos( pos );
|
SetTextPos( pos );
|
||||||
|
SetLabelSpinStyle( LABEL_SPIN_STYLE::LEFT );
|
||||||
SetMultilineAllowed( true );
|
SetMultilineAllowed( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue