2610790873
In a previous PR, we improved logic for skipping virtual handles if a handle's neighbor is too close to it. This PR improves this logic further by testing against all other vertex handles, not just the neighbors; and skipping tests against handles that are not vertices (such as arrow text labels). This PR also: - removes some static cursors from `useCursors` - adds a tiny bit of hover to text labels to differentiate them when hovered ### Change Type - [x] `patch` — Bug fix ### Test Plan 1. Create an arrow with a text label 2. Select the arrow 3. The arrow's middle handle should be selectable and in front of the text label ### Release Notes - Fixed a bug with virtual / create handle visibility. |
||
---|---|---|
.. | ||
api | ||
src | ||
api-extractor.json | ||
api-report.md | ||
CHANGELOG.md | ||
editor.css | ||
LICENSE.md | ||
package.json | ||
README.md | ||
setupTests.js | ||
tsconfig.json |
tldraw/tldraw
Community
Have questions, comments or feedback? Join our discord or start a discussion.
Distributions
You can find tldraw on npm here.
Contribution
Please see our contributing guide. Found a bug? Please submit an issue.
License
The tldraw source code and its distributions are provided under the tldraw license. This license does not permit commercial use.
If you wish to use this project in commercial product, you need to purchase a commercial license. Please contact us at hello@tldraw.com for more inforion about obtaining a commercial license.
Trademarks
Copyright (c) 2023-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.
Contact
Find us on Twitter at @tldraw or email hello@tldraw.com. You can also join our discord for quick help and support.