Skip to content

fix: 避免高精度鼠标滚轮滚动翻页过快#337

Open
ofseed wants to merge 1 commit intohymbz:masterfrom
ofseed:high-precision-wheel
Open

fix: 避免高精度鼠标滚轮滚动翻页过快#337
ofseed wants to merge 1 commit intohymbz:masterfrom
ofseed:high-precision-wheel

Conversation

@ofseed
Copy link
Copy Markdown

@ofseed ofseed commented Apr 30, 2026

不太清楚其他平台是什么样的,但是在Linux下面,如果用的是高精度滚轮,翻页一下会触发很多滚动的事件,导致一下就翻过去很多页。这里对这种高精度滚轮统计滚动累积量再触发翻页。

@ofseed ofseed force-pushed the high-precision-wheel branch 7 times, most recently from edfc646 to 9b7f20e Compare April 30, 2026 18:53
@ofseed ofseed force-pushed the high-precision-wheel branch from 9b7f20e to 71290db Compare April 30, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant