fix: change scroll to top animation in CarouselAnimationPlugin

This commit is contained in:
Rui-Sun 2024-11-13 14:56:12 +08:00
parent ee6c9c2c42
commit b34cc3a51f

View File

@ -104,7 +104,8 @@ export class CarouselAnimationPlugin {
() => {
this.updateRow();
},
animation ? this.animationDuration + this.animationDelay : 0
// animation ? this.animationDuration + this.animationDelay : 0
this.animationDuration + this.animationDelay
);
}
@ -129,7 +130,8 @@ export class CarouselAnimationPlugin {
() => {
this.updateCol();
},
animation ? this.animationDuration + this.animationDelay : 0
// animation ? this.animationDuration + this.animationDelay : 0
this.animationDuration + this.animationDelay
);
}
}