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: 矩形圆角适配拖拽放缩 #499

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

wuchenguang1998
Copy link
Member

解决issue #495
原因是圆角展示受到rx、ry属性及元素放缩的共同影响;
如果在元素外部解决此问题,需要在设置圆角时做适配,并且元素放缩时也要监听进行圆角调整,略显麻烦。
解决方案:扩展fabric.Rect类,在Rect元素内部解决

@wuchenguang1998 wuchenguang1998 merged commit fbdc997 into ikuaitu:main Jul 28, 2024
1 check passed
@wuchenguang1998 wuchenguang1998 deleted the fix-round branch July 28, 2024 15:28
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.

1 participant