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

[Bug] 绘制特定圆形时卡死 #346

Open
Ronbb opened this issue Feb 7, 2025 · 2 comments
Open

[Bug] 绘制特定圆形时卡死 #346

Ronbb opened this issue Feb 7, 2025 · 2 comments

Comments

@Ronbb
Copy link

Ronbb commented Feb 7, 2025

import { Leafer, Ellipse } from 'leafer-ui'

const leafer = new Leafer({ view: window })

const ellipse = new Ellipse({  
    fill: "rgb(50,205,121)",
    cornerRadius: 24,
})

leafer.add(ellipse)
@Ronbb
Copy link
Author

Ronbb commented Feb 7, 2025

可以定位到 PathCorner.smooth 在 处理 [25, 50, 50, 50, 50] 时 swith case 没有 25 分支

@leaferjs
Copy link
Owner

leaferjs commented Feb 8, 2025

感谢反馈,Ellipse不支持cornerRadius, 我下次阻止一下

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

No branches or pull requests

2 participants