267fea8d5a
This fixes an issue with empty text shape not being deleted when you clicked on another text shape. This correctly worked if you clicked on a shape of a different type or on canvas. Before: https://github.com/tldraw/tldraw/assets/2523721/cf79a0a5-c738-49d2-a861-4e23eafc29e5 After: https://github.com/tldraw/tldraw/assets/2523721/51a31f7e-c0da-45bc-9d04-aa0b0752a459 ### Change Type - [x] `patch` — Bug Fix ### Test Plan 1. Create a text shape and add some text. 2. Double click on the empty canvas, which creates an empty text shape. 3. Click on the first text shape. Confirm that the empty text shape was deleted and is no longer present. - [x] Unit Tests - [ ] Webdriver tests ### Release Notes - Fix a problem with empty text shapes not getting deleted if you clicked on another text 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"