@@ -114,8 +114,8 @@ const { arrowSvg, textPosition } = useRoughArrow({
114
114
: undefined ,
115
115
}
116
116
: undefined ,
117
- strokeAnimationClass: " rough-arrow-stroke" ,
118
- fillAnimationClass: " rough-arrow-fill" ,
117
+ strokeAnimationClass: " animated- rough-arrow-stroke" ,
118
+ fillAnimationClass: " animated- rough-arrow-fill" ,
119
119
});
120
120
</script >
121
121
@@ -137,7 +137,7 @@ const { arrowSvg, textPosition } = useRoughArrow({
137
137
</svg >
138
138
<div
139
139
v-if =" $slots.default && textPosition"
140
- class =" rough-arrow-content"
140
+ : class =" { 'animated- rough-arrow-content': animationEnabled } "
141
141
:style =" {
142
142
position: 'absolute',
143
143
left: `${textPosition.x}px`,
@@ -189,22 +189,22 @@ const { arrowSvg, textPosition } = useRoughArrow({
189
189
}
190
190
}
191
191
192
- .rough-arrow-stroke {
192
+ .animated- rough-arrow-stroke {
193
193
animation : rough-arrow-dash ease-out forwards ;
194
194
}
195
- .rough-arrow-fill {
195
+ .animated- rough-arrow-fill {
196
196
animation : rough-arrow-fill ease-out forwards ;
197
197
}
198
- .rough-arrow-content {
198
+ .animated- rough-arrow-content {
199
199
animation : rough-arrow-content ease-out forwards ;
200
200
}
201
- .slidev-vclick-target.slidev-vclick-hidden .rough-arrow-stroke {
201
+ .slidev-vclick-target.slidev-vclick-hidden .animated- rough-arrow-stroke {
202
202
animation : none ;
203
203
}
204
- .slidev-vclick-target.slidev-vclick-hidden .rough-arrow-fill {
204
+ .slidev-vclick-target.slidev-vclick-hidden .animated- rough-arrow-fill {
205
205
animation : none ;
206
206
}
207
- .slidev-vclick-target.slidev-vclick-hidden .rough-arrow-content {
207
+ .slidev-vclick-target.slidev-vclick-hidden .animated- rough-arrow-content {
208
208
animation : none ;
209
209
}
210
210
</style >
0 commit comments