Skip to content

Commit ed982a7

Browse files
authored
Fix/animation (#159)
* Fix animation style * Add changeset
1 parent 067d6d3 commit ed982a7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/funny-paths-behave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"slidev-addon-fancy-arrow": patch
3+
---
4+
5+
Fix stylesheet not to show unexpected shapes before the animation

components/FancyArrow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const { arrowSvg, textPosition } = useRoughArrow({
140140

141141
<style>
142142
@keyframes rough-arrow-dash {
143-
from {
143+
0.01% {
144144
/*
145145
We set visibility: hidden when constructing the SVG,
146146
which is necessary to hide unexpected fragments before starting animation,

0 commit comments

Comments
 (0)