Tldraw/packages/tldraw/src/lib
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
..
canvas 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
ui Remove minimap throttling (#3438) 2024-04-10 14:12:08 +00:00
utils ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
Tldraw.test.tsx Fix jpg export and tests (#3198) 2024-03-18 15:08:09 +00:00
Tldraw.tsx Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
TldrawImage.tsx React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00
defaultExternalContentHandlers.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
defaultShapeTools.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
defaultShapeUtils.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
defaultSideEffects.ts Use canvas bounds for viewport bounds (#2798) 2024-02-12 15:03:25 +00:00
defaultTools.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
styles.tsx UI components round two (#2847) 2024-02-16 09:13:04 +00:00
ui.css styling: make dotcom and examples site have consistent font styling (#3271) 2024-03-27 09:44:22 +00:00