Skip to content

Commit

Permalink
fix path length
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Aug 13, 2023
1 parent f0c99d6 commit 90af624
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,17 +516,18 @@ export default {
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: .4;
stroke-dasharray: 200;
stroke-dasharray: 1;
pathLength: 1;
fill: none;
d: M 0 0
@M10.pn(0 @n @n 0, @n 0 0 @n)
@M10.pn(@n @N @N @n, @N @n @n @N);
animate {
attributeName: stroke-dashoffset;
from: 200;
to: 0;
dur: 5s;
from, to, dur: 1, 0, 3s;
}
}
}
`),
Expand Down

0 comments on commit 90af624

Please sign in to comment.