Skip to content

Commit

Permalink
animation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamanshuaditya committed Apr 29, 2024
1 parent 3462fea commit 691b8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Students/Students.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export default function Students() {

0
)
.from(skill, { x: -20, opacity: 0, ease: "power3.inOut" })
.from(Slider, { y: 20, opacity: 0, ease: "power3.inOut" });
.from(skill, { x: -20, opacity: 0, ease: "power3.inOut" }, 0)
.from(Slider, { y: 20, opacity: 0, ease: "power3.inOut", delay: 0 });
}

const trigger = ScrollTrigger.create({
Expand Down

0 comments on commit 691b8cc

Please sign in to comment.