Skip to content
Snippets Groups Projects
Commit dc2387bb authored by rhenck's avatar rhenck
Browse files

[editor] Fix elements to respect dynamic sections

parent 488e217b
No related branches found
No related tags found
No related merge requests found
...@@ -133,7 +133,7 @@ export class UnitService { ...@@ -133,7 +133,7 @@ export class UnitService {
newElement = ElementFactory.createElement({ newElement = ElementFactory.createElement({
type: elementType, type: elementType,
id: this.idService.getNewID(elementType), id: this.idService.getNewID(elementType),
positionProps: { position: {
dynamicPositioning: section.dynamicPositioning dynamicPositioning: section.dynamicPositioning
} }
} as unknown as UIElement) as PositionedElement; } as unknown as UIElement) as PositionedElement;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment