Fix big regression with symbols not using PositionReference
This commit is contained in:
parent
1086bf58a1
commit
86c34b112e
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ export function AddSymbol(
|
|||
|
||||
const newSymbols = structuredClone(current.symbols);
|
||||
const newSymbol: ISymbolModel = GetDefaultSymbolModel(name, newCounters, type, symbolConfig);
|
||||
newSymbol.x = RestoreX(newSymbol.x, newSymbol.width, newSymbol.config.XPositionReference);
|
||||
newSymbol.x = RestoreX(newSymbol.x, newSymbol.width, newSymbol.config.PositionReference);
|
||||
|
||||
newSymbols.set(newSymbol.id, newSymbol);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue