From bf4f69a95fe842f409661d11700b89e3bb54fe8b Mon Sep 17 00:00:00 2001 From: Carl Fuchs Date: Tue, 21 Feb 2023 16:26:40 +0100 Subject: [PATCH] [Fix] SymbolBehaviors.ts => symbol.height/2 in place to get correct positionning --- src/Components/Editor/Behaviors/SymbolBehaviors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Editor/Behaviors/SymbolBehaviors.ts b/src/Components/Editor/Behaviors/SymbolBehaviors.ts index c5544f4..67af838 100644 --- a/src/Components/Editor/Behaviors/SymbolBehaviors.ts +++ b/src/Components/Editor/Behaviors/SymbolBehaviors.ts @@ -7,7 +7,7 @@ export function ApplySymbol(containers: Map, container: IContainerModel, symbol: ISymbolModel): IContainerModel { if (symbol.isVertical) { - container.properties.y = TransformY(symbol.offset, + container.properties.y = TransformY(symbol.offset + symbol.height / 2, symbol.height, symbol.config.PositionReference); container.properties.y = RestoreY(container.properties.y,