Skip to content

fix(slider): 修改 slider 的最大值最小值 位置 计算数据方式 floor 为 round #4015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

ai-qing-hai
Copy link
Collaborator

修改 slider 的最大值最小值 位置 计算数据方式 floor 为 round

before after
image image

fixed #3853

@github-actions
Copy link

github-actions bot commented Jun 29, 2022

🎊 PR Preview b923eb3 has been successfully built and deployed to https://antvis-G2-preview-pr-4015.surge.sh?type=diff&date=2022-06-29

🕐 Build time: 85.849s

🤖 By Surge Ui Insight

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2582125031

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 91.265%

Totals Coverage Status
Change from base Build 2573335166: 0.006%
Covered Lines: 11820
Relevant Lines: 12458

💛 - Coveralls

@hustcc
Copy link
Member

hustcc commented Jun 29, 2022

如果改成 float 之后,滑动条在最右方的时候,可以选择到最后一条数据吗?

@visiky visiky merged commit b923eb3 into master Jun 29, 2022
@visiky visiky deleted the fix-slider-minmax branch June 29, 2022 10:52
@visiky
Copy link
Member

visiky commented Jun 29, 2022

如果改成 float 之后,滑动条在最右方的时候,可以选择到最后一条数据吗?

是修改为 round(不是floor)

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.

缩略轴手柄重合
4 participants