Skip to content

Commit

Permalink
Change threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Jan 30, 2024
1 parent 974451b commit 8d699cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function Projects() {

const obs = new IntersectionObserver(cb, {
root: carouselRef.current,
threshold: 1.0,
threshold: 0.5,
});

for (const child of carouselRef.current.children) {
Expand Down

0 comments on commit 8d699cc

Please sign in to comment.