[Update] Translation and fix

This commit is contained in:
Carl Fuchs 2023-02-21 15:02:53 +01:00
parent 174767f22c
commit 4c2cf66667
6 changed files with 49 additions and 11 deletions

View file

@ -7,7 +7,7 @@ export function ApplySymbol(containers: Map<string, IContainerModel>,
container: IContainerModel,
symbol: ISymbolModel): IContainerModel {
if (symbol.isVertical) {
container.properties.y = TransformY(symbol.offset + (symbol.height / 2),
container.properties.y = TransformY(symbol.offset,
symbol.height,
symbol.config.PositionReference);
container.properties.y = RestoreY(container.properties.y,