diff --git a/src/lib/Gauge.scss b/src/lib/Gauge.scss index 371591f..95d7d6a 100644 --- a/src/lib/Gauge.scss +++ b/src/lib/Gauge.scss @@ -37,7 +37,7 @@ stroke-width: calc(var(--gauge-stroke) - 2px); } -.gauge-indicator { +.gauge-pointer { fill: white; stroke: var(--stroke-color, lightgray); stroke-width: 1px; diff --git a/src/lib/Gauge.svelte b/src/lib/Gauge.svelte index b5db419..99bbdb8 100644 --- a/src/lib/Gauge.svelte +++ b/src/lib/Gauge.svelte @@ -147,25 +147,12 @@ {/if} {/if} - + - - {#if value != undefined || $animatedValue != 0} - - {/if} - {#each segments as segment, index} {/each} + + {#if value != undefined || $animatedValue != 0} + + {/if} + {#if value != undefined || $animatedValue != 0}