From 16c1e87dd1b14a21f835792d45f4abc2c7a81b13 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Tue, 17 Aug 2021 17:53:50 +0200 Subject: [PATCH] [editor] Add indicator for missing element selection to props panel --- .../page-view/properties/element-properties.component.ts | 3 +++ 1 file changed, 3 insertions(+) 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 aadc6f403..4f1b63200 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 @@ -329,6 +329,9 @@ import { SelectionService } from '../../../../selection.service'; </mat-tab> </mat-tab-group> </ng-container> + <ng-container *ngIf="selectedElements.length === 0"> + Kein Element ausgewählt + </ng-container> `, styles: [ '::ng-deep app-element-properties .margin-properties .mat-form-field-infix {width: 55px; margin: 0 5px}', -- GitLab