Skip to content

Commit 09703a2

Browse files
committed
fix: apply transition to half fill circle
1 parent c5a3311 commit 09703a2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
:size="600"
4343
half
4444
:angle="0"
45-
line-position="out 40"
45+
line-position="out 70"
4646
empty-line-position="out 20"
4747
empty-color-fill="red"
4848
color-fill="green"

src/components/Circle/HalfCircle.vue

+7-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@
3737
</g>
3838
</fade-in-transition>
3939

40-
<path class="ep-half-circle--progress__fill" :d="fillPath" :fill="computedColorFill"> </path>
40+
<path
41+
class="ep-half-circle--progress__fill"
42+
:d="fillPath"
43+
:fill="computedColorFill"
44+
:style="{ transition: styles.transition }"
45+
>
46+
</path>
4147
<path
4248
:stroke-width="thickness"
4349
class="ep-half-circle--progress ep-circle--progress"

0 commit comments

Comments
 (0)