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