Skip to content

Commit 5154b6d

Browse files
committed
fix #840: animate name dash -> lf_animate_dash
1 parent c5110c8 commit 5154b6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/constant/DefaultTheme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export const defaultTheme: Theme = {
391391
stroke: 'red',
392392
strokeDasharray: '10 10',
393393
strokeDashoffset: '100%',
394-
animationName: 'dash',
394+
animationName: 'lf_animate_dash',
395395
animationDuration: '20s',
396396
animationIterationCount: 'infinite',
397397
animationTimingFunction: 'linear',

packages/core/src/style/index.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
}
3333
.lf-edge-animation {
3434
stroke-dashoffset: 100%;
35-
animation: dash 5s linear infinite;
35+
animation: lf_animate_dash 5s linear infinite;
3636
}
37-
@keyframes dash {
37+
@keyframes lf_animate_dash {
3838
to {
3939
stroke-dashoffset: 0;
4040
}

0 commit comments

Comments
 (0)