fc36d5b577
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 |
||
---|---|---|
.. | ||
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"