tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.
https://tldraw.dev
Other
33.04k stars 1.98k forks source link

move group select logic to action #3691

Open Taha-Hassan-Git opened 2 weeks ago

Taha-Hassan-Git commented 2 weeks ago

This PR seeks to make it easier to disentangle shape selection logic from the grouping shapes logic. This is one of two approaches we could take to this problem.

Other PR is here: https://github.com/tldraw/tldraw/pull/3690

This method removes selection logic from the group shapes method and puts it in the actions.

Change Type

Test Plan

  1. Add a step-by-step description of how to test your PR here.

Release Notes

vercel[bot] commented 2 weeks ago

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

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview May 3, 2024 11:41am
1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **tldraw-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/tldraw/tldraw-docs/48fmkrzd9254T6CBDg6kMcndamQX)) | | May 3, 2024 11:41am |