kopia lustrzana https://github.com/Tldraw/Tldraw
![]() 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. |
||
---|---|---|
.. | ||
canvas | ||
shapes | ||
tools | ||
ui | ||
utils | ||
Tldraw.test.tsx | ||
Tldraw.tsx | ||
TldrawImage.tsx | ||
defaultExternalContentHandlers.ts | ||
defaultShapeTools.ts | ||
defaultShapeUtils.ts | ||
defaultSideEffects.ts | ||
defaultTools.ts | ||
styles.tsx | ||
ui.css |