Skip to content

Commit

Permalink
Add class to total layers number (#678)
Browse files Browse the repository at this point in the history
With that addition nothing changes, but gives the ability to also style the total layers number.
  • Loading branch information
noxhirsch authored May 23, 2020
1 parent 168d87a commit 258d8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/layer-progress/layer-progress.component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<span class="layer-indication" *ngIf="layerProgress && !(layerProgress.current === 0 && layerProgress.total === 0)">
Layer <span class="layer-indication__current-layer">{{ layerProgress.current }}</span> of {{ layerProgress.total }}
</span>
Layer <span class="layer-indication__current-layer">{{ layerProgress.current }}</span> of <span class="layer-indication__total-layers">{{ layerProgress.total }}</span>
</span>

0 comments on commit 258d8de

Please sign in to comment.