|
@ -87,8 +87,12 @@ |
|
|
|
|
|
|
|
|
<div class="bar" title="{title}" class:thin class:thinner> |
|
|
<div class="bar" title="{title}" class:thin class:thinner> |
|
|
{#if nonSegmented} |
|
|
{#if nonSegmented} |
|
|
|
|
|
{#if ons > 0} |
|
|
<div style="flex: {ons}" class={"non-segmented on " + onClass}></div> |
|
|
<div style="flex: {ons}" class={"non-segmented on " + onClass}></div> |
|
|
|
|
|
{/if} |
|
|
|
|
|
{#if offs > 0} |
|
|
<div style="flex: {offs}" class={"non-segmented off " + offClass}></div> |
|
|
<div style="flex: {offs}" class={"non-segmented off " + offClass}></div> |
|
|
|
|
|
{/if} |
|
|
{:else} |
|
|
{:else} |
|
|
{#each {length: ons} as _} |
|
|
{#each {length: ons} as _} |
|
|
<div class={"on " + onClass}></div> |
|
|
<div class={"on " + onClass}></div> |
|
|