From 880bcc7d4d9c670faf3164150e28ec174035bd46 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Tue, 2 Nov 2021 17:10:38 +0100 Subject: [PATCH] [editor] Only show likert line color picker when line coloring is set --- .../properties-panel/element-properties.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.html b/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.html index ed5260b0f..9dcdcb04f 100644 --- a/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.html +++ b/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.html @@ -336,7 +336,7 @@ {{'propertiesPanel.lineColoring' | translate }} </mat-checkbox> - <mat-form-field *ngIf="combinedProperties.lineColoringColor" + <mat-form-field *ngIf="combinedProperties.lineColoring && combinedProperties.lineColoringColor" appearance="fill" class="mdInput textsingleline"> <mat-label>{{'propertiesPanel.lineColoringColor' | translate }}</mat-label> <input matInput type="color" [value]="combinedProperties.lineColoringColor" -- GitLab