From 0751bc96cd7877e51496750ff363b992ef3c76bf Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Thu, 2 Sep 2021 17:22:19 +0200 Subject: [PATCH] [editor] Fix element props correctly showing y-Position --- .../page-view/properties/element-properties.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts index f4f09f0a3..c61fb341e 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts @@ -208,7 +208,7 @@ import { MessageService } from '../../../../../../../common/message.service'; <mat-form-field *ngIf="combinedProperties.hasOwnProperty('yPosition')" appearance="fill"> <mat-label>Y Position</mat-label> <input matInput type="number" #yPosition="ngModel" min="0" - [ngModel]="combinedProperties.xPosition" + [ngModel]="combinedProperties.yPosition" (ngModelChange)="updateModel('yPosition', $event, yPosition.valid)"> </mat-form-field> </ng-container> -- GitLab