From dc2387bb0acba94740941c4f6265cc112f385b4d Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Fri, 4 Mar 2022 14:30:16 +0100 Subject: [PATCH] [editor] Fix elements to respect dynamic sections --- projects/editor/src/app/services/unit.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/editor/src/app/services/unit.service.ts b/projects/editor/src/app/services/unit.service.ts index 2c15e4f3f..d937c8792 100644 --- a/projects/editor/src/app/services/unit.service.ts +++ b/projects/editor/src/app/services/unit.service.ts @@ -133,7 +133,7 @@ export class UnitService { newElement = ElementFactory.createElement({ type: elementType, id: this.idService.getNewID(elementType), - positionProps: { + position: { dynamicPositioning: section.dynamicPositioning } } as unknown as UIElement) as PositionedElement; -- GitLab