Make global labels have the same spin style as net/hierarchical labels
For legacy reasons, it stored left and right "spin" as flipped integers in the file format. But the code handled the flip in multiple locations rather than just doing it on file io. This change unifies the internal code and does the mapping in the file I/O.
This commit is contained in:
committed by
Ian McInerney
parent
fd0d5fdb38
commit
ca34ade00c
+1
-1
@@ -766,7 +766,7 @@ bool SCH_EDIT_FRAME::EditSheet( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy,
|
||||
}
|
||||
|
||||
|
||||
PINSHEETLABEL_SHAPE SCH_EDIT_FRAME::m_lastSheetPinType = NET_INPUT;
|
||||
PINSHEETLABEL_SHAPE SCH_EDIT_FRAME::m_lastSheetPinType = PINSHEETLABEL_SHAPE::INPUT;
|
||||
wxSize SCH_EDIT_FRAME::m_lastSheetPinTextSize( -1, -1 );
|
||||
wxPoint SCH_EDIT_FRAME::m_lastSheetPinPosition;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user