tldraw/packages
Steve Ruiz 2610790873
[Fix] Overlapping non-adjacent handles (#2663)
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.
2024-01-27 15:01:18 +00:00
..
assets [dotcom] Delete service worker, cache tldraw assets (#2552) 2024-01-19 15:31:01 +00:00
editor [Fix] Overlapping non-adjacent handles (#2663) 2024-01-27 15:01:18 +00:00
state Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00
store Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00
tldraw [Fix] Overlapping non-adjacent handles (#2663) 2024-01-27 15:01:18 +00:00
tlschema Improved duplication (#2480) 2024-01-26 14:54:52 +00:00
tlsync Improved duplication (#2480) 2024-01-26 14:54:52 +00:00
utils Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00
validate Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00