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
(cherry picked from commit f1556ed801
)
This commit is contained in:
parent
554d82b2a4
commit
de05a513f3
|
@ -650,7 +650,8 @@ void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSynta
|
|||
case T_right: aText->SetHorizJustify( GR_TEXT_HJUSTIFY_RIGHT ); break;
|
||||
case T_top: aText->SetVertJustify( GR_TEXT_VJUSTIFY_TOP ); break;
|
||||
case T_bottom: aText->SetVertJustify( GR_TEXT_VJUSTIFY_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" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue