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. |
||
---|---|---|
.. | ||
src | ||
api-extractor.json | ||
api-report.md | ||
CHANGELOG.md | ||
editor.css | ||
LICENSE | ||
package.json | ||
README.md | ||
setupTests.js | ||
tsconfig.json |
tldraw/tldraw
Benchmark
To run the benchmarks
yarn workspace @tldraw/tldraw benchmark
Or
yarn workspace @tldraw/tldraw benchmark "file_search_string"