add prevColorCache for color picker component

This commit is contained in:
Fabian Jeglinski
2020-02-15 18:29:34 +01:00
parent 55a511e9f1
commit e4e4c3a955
8 changed files with 77 additions and 40 deletions
@@ -1,15 +1,13 @@
<div *ngIf="curFeature">
<div class="header">
<h4>Properties</h4>
</div>
<div *ngFor="let item of curProperties | keyvalue" class="entry">
{{item.key}}
<br>
{{item.value}}
</div>
<div class="header">
<h4>Custom Properties</h4>
</div>
<lm-custom-color-entry [colors]="curFeatureColors"
(colorChanged)="onFeatureColorChanged($event)"></lm-custom-color-entry>
<div class="header">
<h4>Properties</h4>
</div>
<div *ngFor="let item of curProperties | keyvalue" class="entry">
<span class="property-name">{{item.key}}</span> : <span class="property-value">{{item.value}}</span>
</div>
</div>