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] 包围盒计算错误,导致 shape 绘制不出来 #287

Closed
simaQ opened this issue Dec 3, 2019 · 1 comment · Fixed by #297
Closed

[4.0] 包围盒计算错误,导致 shape 绘制不出来 #287

simaQ opened this issue Dec 3, 2019 · 1 comment · Fixed by #297
Assignees
Labels

Comments

@simaQ
Copy link
Contributor

simaQ commented Dec 3, 2019

当 arc path 的起始点和结束点相同时(示例中的 path1),shape 无法绘制。

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

将局部刷新关闭就 OK,目前来看是因为 path1 的 bbox 计算有问题。

@antv-bot
Copy link

antv-bot commented Dec 3, 2019

Translation of this issue:


[4.0] The calculation of the bounding box is incorrect and the shape cannot be drawn

When the start and end points of the arc path are the same (path1 in the example), the shape cannot be drawn.

Reappear demo: http://riddle.alibaba-inc.com/riddles/f24a3dda

It is OK to turn off the partial refresh. At present, it is because there is a problem with the bbox calculation of path1.

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

Successfully merging a pull request may close this issue.

4 participants