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: fix incorrect bounds calculate when pass stroke and lineWidth to group #1847

Open
wants to merge 3 commits into
base: release
Choose a base branch
from

Conversation

Aarebecca
Copy link
Contributor

  • 修复给 Group/CustomElement 等非可见元素设置 stroke lineWidth 等参数时,包围盒计算异常的问题。

基于 PARSED_STYLE_LIST 属性列表进行样式处理,需要设置 enableMassiveParsedStyleAssignOptimizationtrue

修复前(绿色为包围盒区域):
image

修复后:
image

@Aarebecca Aarebecca changed the base branch from next to release November 22, 2024 07:08
@Aarebecca Aarebecca changed the title Fix/group attributes fix: fix incorrect bounds calculate when pass stroke and lineWidth to group Nov 22, 2024
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