Tldraw/packages/editor/src/lib/editor
Steve Ruiz 3ceebc82f8
Faster selection / erasing (#3454)
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.
2024-04-13 13:30:30 +00:00
..
derivations Perf: Incremental culled shapes calculation. (#3411) 2024-04-10 10:29:11 +00:00
managers Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
shapes Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
tools Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
types Add long press event (#3275) 2024-04-04 21:50:01 +00:00
Editor.ts Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
getSvgJsx.tsx Fix SVG exports in Next.js (#3446) 2024-04-11 14:02:05 +00:00