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

[4.0] G path 动画有问题 #232

Closed
simaQ opened this issue Oct 25, 2019 · 2 comments
Closed

[4.0] G path 动画有问题 #232

simaQ opened this issue Oct 25, 2019 · 2 comments
Assignees
Labels

Comments

@simaQ
Copy link
Contributor

simaQ commented Oct 25, 2019

可复现 demo: http://riddle.alibaba-inc.com/riddles/a3af2097

@simaQ simaQ added the bug label Oct 25, 2019
@antvis antvis deleted a comment from antv-bot Oct 25, 2019
@dengfuping
Copy link
Member

dengfuping commented Oct 26, 2019

  • 原因定位: 由于带有拐角的 path 包围盒计算不准确,使得在局部刷新模式下,重绘时清除的 region 不足够大,导致没有完全 clear 掉之前的绘制。
  • 解决方案: 带拐角 path 的包围盒准确计算方案,考虑到性能,只会计算最外层的四个顶点。

@dengfuping dengfuping changed the title [4.0] G path 动画有问题 [4.0] g-canvas path 动画有问题 Oct 29, 2019
@dengfuping dengfuping changed the title [4.0] g-canvas path 动画有问题 [4.0] G path 动画有问题 Oct 29, 2019
@dengfuping
Copy link
Member

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

No branches or pull requests

2 participants