Prevent mirror of text elements
While we never allow the creation of mirrored text elements in the schematic and symbol library editors, external generation of symbols may cause the property to be set, which can then never be changed. This leaves the property unset for all elements Fixes https://gitlab.com/kicad/code/kicad/issues/13007
This commit is contained in:
parent
9edd33c58e
commit
f1556ed801
|
@ -636,7 +636,8 @@ void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSynta
|
||||||
case T_right: aText->SetHorizJustify( GR_TEXT_H_ALIGN_RIGHT ); break;
|
case T_right: aText->SetHorizJustify( GR_TEXT_H_ALIGN_RIGHT ); break;
|
||||||
case T_top: aText->SetVertJustify( GR_TEXT_V_ALIGN_TOP ); break;
|
case T_top: aText->SetVertJustify( GR_TEXT_V_ALIGN_TOP ); break;
|
||||||
case T_bottom: aText->SetVertJustify( GR_TEXT_V_ALIGN_BOTTOM ); break;
|
case T_bottom: aText->SetVertJustify( GR_TEXT_V_ALIGN_BOTTOM ); break;
|
||||||
case T_mirror: aText->SetMirrored( true ); break;
|
// Do not set mirror property for schematic text elements
|
||||||
|
case T_mirror: break;
|
||||||
default: Expecting( "left, right, top, bottom, or mirror" );
|
default: Expecting( "left, right, top, bottom, or mirror" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue