fix: change detection line
This commit is contained in:
parent
073635c95b
commit
6454265eb4
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ function onScroll() {
|
|||
const elementRect = v.element.getBoundingClientRect();
|
||||
|
||||
if (
|
||||
containerRect.y + containerRect.height / 2 >=
|
||||
containerRect.y + containerRect.height / 3 >=
|
||||
elementRect.y + elementRect.height / 2
|
||||
) {
|
||||
current = v.anchor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue