tldraw/packages
Steve Ruiz fc36d5b577
[fix] arrow snapping bug (#1756)
This PR fixes snapping for arrow shapes. Previously, the middle handle
of an arrow was marked as a vertex, causing the arrow to have to
segments (one of which would be snapped to). In this PR we make the
second handle a "virtual" handle and tweak how we display handles to
preserve the same appearance.

### Change Type

- [x] `minor` — New feature

### Test Plan

1. Drag an arrow while snapping.

### Release Notes

- [fix] arrow snapping
2023-07-22 05:19:16 +00:00
..
assets Add cloud shape (#1708) 2023-07-07 15:32:08 +00:00
editor [fix] arrow snapping bug (#1756) 2023-07-22 05:19:16 +00:00
state tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
store tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
tldraw [fix] arrow snapping bug (#1756) 2023-07-22 05:19:16 +00:00
tlschema [fix] dark mode (#1754) 2023-07-20 11:38:55 +00:00
utils move some utils into tldraw/utils (#1750) 2023-07-19 10:50:40 +00:00
validate tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00