52a838f3ff
This PR stops the first handle of a line snapping to itself. This is an extra fix that I noticed while testing #1910 ![2023-09-18 at 16 00 56 - Maroon Crab](https://github.com/tldraw/tldraw/assets/15892272/f09e18f7-efdd-4b6d-acaf-272f44b98644) ### Change Type - [x] `patch` — Bug fix ### Test Plan 1. Draw a line. 2. Switch to the select tool. 3. Create another segment in the line by dragging out its 'middle' handle. 4. Move the **first** handle of the line. 5. ... while holding ctrl/cmd. 6. Make sure the handle doesn't try to snap to itself. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fixed a bug where the first handle of a line shape could snap to itself. |
||
---|---|---|
.. | ||
assets | ||
editor | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
utils | ||
validate |