fix 100% progress bars not looking like 100% on smooth progress bars.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -87,8 +87,12 @@
|
||||
|
||||
<div class="bar" title="{title}" class:thin class:thinner>
|
||||
{#if nonSegmented}
|
||||
<div style="flex: {ons}" class={"non-segmented on " + onClass}></div>
|
||||
<div style="flex: {offs}" class={"non-segmented off " + offClass}></div>
|
||||
{#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>
|
||||
{/if}
|
||||
{:else}
|
||||
{#each {length: ons} as _}
|
||||
<div class={"on " + onClass}></div>
|
||||
|
||||
Reference in New Issue
Block a user