HMCL-dev / HMCL-dev/HMCL

[Feature] 滚轮平滑滚动曲线和惯性的相关问题

Open
#6,553 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary
  1. 建议调整平滑滚动的起步曲线。
  2. 建议减小滚动惯性。
原因 | Reason

对操作效率有一定的影响。尤其是列表较长时(如版本选择界面项目较多)。

详情 | Description
  1. 建议调整平滑滚动曲线。
    当前效果的起步时间(从0加速到最大速度)过长,想要快速滚动的时候,即便一开始就快速滚动滚轮,仍旧会经历一个较慢的加速阶段,过慢的起步速度会使用户感到粘滞感;

  2. 建议减小滚动惯性。
    滚动惯性过大,停止滚动滚轮时,列表仍会向下滚动相当长的距离。这导致滚动时看到需要的项目后,不能很快进行点击,需要鼠标跟随惯性定位或者反向滚滚轮“刹车”,增加了操作负担。

滚轮平滑滚动的曲线和惯性的体验,建议可以参考Chrome或Edge浏览器的滚动体验,起步和停止都干净利落。个人认为那是不错的,效率较高的滚动体验。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating HMCL's JavaFX smooth-scrolling implementation and reproduce the behavior in a long list such as the version selection interface. Done means the scroll starts and stops more promptly, with reduced inertia and an experience close to the stated Chrome or Edge reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.