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(common): set angle for group hover rectangle and selected rectangle #WIK-15027 #807

Merged
merged 3 commits into from
Apr 3, 2024

Conversation

MissLixf
Copy link
Collaborator

@MissLixf MissLixf commented Apr 3, 2024

No description provided.

Copy link

vercel bot commented Apr 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plait ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 8:38am
plait-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 8:38am

const angle = getSelectionAngle(getElementsInGroup(this.board, element));
setAngleForG(g, RectangleClient.getCenterPoint(rect), angle);
} else {
setAngleForG(g, RectangleClient.getCenterPoint(rect), element.angle);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也需要判断是否有角度没有角度不设置这个属性

@pubuzhixing8 pubuzhixing8 merged commit 7b6c2cb into develop Apr 3, 2024
3 checks passed
@pubuzhixing8 pubuzhixing8 deleted the #WIK-15027 branch April 3, 2024 08:40
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.

None yet

2 participants