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

refactor(core): try to remove ELEMENT_TO_COMPONENT and getComponent #845

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

pubuzhixing8
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Apr 22, 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 22, 2024 9:18am
plait-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 9:18am

const selectedElements = getSelectedElements(this.board);
return (selectedElements.length === 1 && !isSelectionMoving(this.board)) || !selectedElements.length;
}
hasResizeHandle: () => true
Copy link
Contributor

Choose a reason for hiding this comment

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

当多选时原来会返回 false,原来的是有问题吗

@huanhuanwa huanhuanwa merged commit d873bc3 into develop Apr 22, 2024
4 checks passed
@huanhuanwa huanhuanwa deleted the try-remove-ELEMENT_TO_COMPONENT branch April 22, 2024 09:19
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