This commit is contained in:
schmelczerandras 2019-08-25 15:49:51 +02:00
parent e96ac49c8e
commit e992152a75
28 changed files with 289 additions and 79 deletions

View file

@ -16,7 +16,7 @@
</section>
<img
*ngIf="isDragging"
[ngClass]="isDragging ? 'active' : ''"
src="assets/trash.svg"
alt="trashcan"
(pointerenter)="trashEnter()"
@ -24,9 +24,9 @@
(pointerup)="removeTower()"
/>
<div class="double-slider-container">
<div class="double-slider-container" [ngStyle]="{ opacity: isDragging ? '0' : '1' }">
<app-double-slider
*ngIf="!isDragging && dates.length >= MIN_BLOCK_COUNT_BEFORE_SHOWING_SLIDER"
*ngIf="dates.length >= MIN_BLOCK_COUNT_BEFORE_SHOWING_SLIDER"
[values]="dates"
[labels]="dateLabels"
(lowerBound)="startDate = $event"