3ceebc82f8
This PR makes a small improvement to the way we measure distances. (Often we measure distances multiple times per frame per shape on the screen). In many cases, we compare a minimum distance. This makes those checks faster by avoiding a square root. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `improvement` — Improving existing features ### Release Notes - Improve performance of minimum distance checks. |
||
---|---|---|
.. | ||
examples | ||
hooks | ||
icons | ||
misc | ||
ExamplePage.tsx | ||
examples.tsx | ||
index.html | ||
index.tsx | ||
styles.css | ||
vite-env.d.ts |