Skip to content

Commit 1428a9e

Browse files
committed
adjust scroll event threshold for showing controller
1 parent 9cd885f commit 1428a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/HomeView/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const onMouseWheel = (e: WheelEvent) => {
115115
scrollEventCount += 1
116116
}
117117
118-
if (scrollEventCount >= 5) {
118+
if (scrollEventCount >= 3) {
119119
showController.value = isScrollingDown || currentScrollTop !== 0
120120
}
121121

0 commit comments

Comments
 (0)