From 156a9e2bf4f720a4b8ca5aeb5671573be685f2bc Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Tue, 9 Aug 2022 11:31:42 +0200
Subject: [PATCH] [editor] Fix new elements dynamicPositioning

#318
---
 projects/common/models/section.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/projects/common/models/section.ts b/projects/common/models/section.ts
index c7612b91f..e008574c3 100644
--- a/projects/common/models/section.ts
+++ b/projects/common/models/section.ts
@@ -84,6 +84,7 @@ export class Section {
   }
 
   addElement(element: PositionedUIElement): void {
+    element.position.dynamicPositioning = this.dynamicPositioning;
     this.elements.push(element);
   }
 
-- 
GitLab