9c12c91f5f
This PR fixes a crash when rotating a deleted shapes, and adds a unit test for it. It also updates the docs of an editor method to communicate a current limitation that we left a 'todo' for. See code comments for more info. ### Change Type - [x] `patch` — Bug fix [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Get two devices out for this! (or write a little console script to do it for you) 2. Rotate a shape on one device. 3. While rotating it, delete it on the other device. 4. Make sure the page doesn't crash! - [x] Unit Tests - [ ] End to end tests ### Release Notes - Fixed a crash when trying to rotate a deleted shape. |
||
---|---|---|
.. | ||
assets | ||
editor | ||
file-format | ||
indices | ||
polyfills | ||
primitives | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
ui | ||
utils | ||
validate |