tldraw/packages
Lu Wilson 9c12c91f5f
Fix crash when rotating a deleted shape (#1658)
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.
2023-06-27 15:08:23 +00:00
..
assets Revert "Update dependencies (#1613)" (#1617) 2023-06-19 09:49:44 +00:00
editor Fix crash when rotating a deleted shape (#1658) 2023-06-27 15:08:23 +00:00
file-format [tweak] migrate store snapshot arguments (#1659) 2023-06-27 13:59:07 +00:00
indices update lazyrepo 2023-06-05 18:32:32 +01:00
polyfills Revert "Update dependencies (#1613)" (#1617) 2023-06-19 09:49:44 +00:00
primitives [refactor] snapping (#1589) 2023-06-15 14:36:46 +00:00
state Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
store [tweak] migrate store snapshot arguments (#1659) 2023-06-27 13:59:07 +00:00
tldraw ShapeUtil refactor, Editor cleanup (#1611) 2023-06-19 14:01:18 +00:00
tlschema [improvement] store snapshot types (#1657) 2023-06-27 12:25:55 +00:00
ui Styles API follow-ups (#1636) 2023-06-24 13:46:04 +00:00
utils Styles API (#1580) 2023-06-16 10:33:47 +00:00
validate Styles API (#1580) 2023-06-16 10:33:47 +00:00