fix: change detection line

This commit is contained in:
Methapon2001 2024-08-02 11:14:10 +07:00
parent 073635c95b
commit 6454265eb4

View file

@ -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;