Skip to content
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

fix(interval): 修复转置后的圆角条形图渲染多出一部分 #3826

Merged
merged 1 commit into from
Mar 23, 2022
Merged

fix(interval): 修复转置后的圆角条形图渲染多出一部分 #3826

merged 1 commit into from
Mar 23, 2022

Conversation

itiiss
Copy link
Contributor

@itiiss itiiss commented Mar 9, 2022

Checklist
  • [✅] npm test passes
  • [✅ ] tests and/or benchmarks are included
  • [✅ ] commit message follows commit guidelines
Description of change

复现条件:
转置后的圆角条形图,当radius大于最小边的长度时,渲染会多出一部分,复现链接:https://codesandbox.io/s/purple-violet-v7vfly

修改方法:
parseRadius处理边界值的时候只处理了非转置情况,所以先调用parseRadius,再转置

@visiky visiky merged commit b12dd0f into antvis:master Mar 23, 2022
@github-actions
Copy link

github-actions bot commented Mar 23, 2022

🎊 PR Preview b12dd0f has been successfully built and deployed to https://antvis-G2-preview-pr-3826.surge.sh?type=diff&date=2022-03-23

🕐 Build time: 65.233s

🤖 By Surge Ui Insight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants