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

[editor] Improve layout of style properties

-> Don't hive line-coloring input but just disable.
parent edb7e21e
No related branches found
Tags editor/2.1.0+player/2.1.0
No related merge requests found
Pipeline #52484 passed
......@@ -12,11 +12,13 @@ import { Stylings } from 'common/models/elements/property-group-interfaces';
{{'propertiesPanel.lineColoring' | translate }}
</mat-checkbox>
<mat-form-field *ngIf="styles.lineColoring && styles.lineColoringColor !== undefined"
<mat-form-field *ngIf="styles.lineColoringColor !== undefined"
appearance="fill" class="mdInput textsingleline">
<mat-label>{{'propertiesPanel.lineColoringColor' | translate }}</mat-label>
<input matInput type="text" [value]="styles.lineColoringColor"
(input)="unitService.updateSelectedElementsStyleProperty('lineColoringColor', $any($event.target).value)">
[disabled]="!styles.lineColoring || styles.lineColoringColor === undefined"
(input)="unitService.updateSelectedElementsStyleProperty(
'lineColoringColor', $any($event.target).value)">
<button mat-icon-button matSuffix (click)="lineColorInput.click()">
<mat-icon>edit</mat-icon>
</button>
......
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