Skip to content

Commit

Permalink
fix: 优化观察器
Browse files Browse the repository at this point in the history
  • Loading branch information
Haoyue-zhi committed May 16, 2024
1 parent e275bf8 commit 6d85faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/useSectionInView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const useSectionInView = (el: Ref<HTMLElement>, name: string) => {
}
},
{
threshold: 0.75,
threshold: 0.5,
}
);

Expand Down

0 comments on commit 6d85faf

Please sign in to comment.