Tldraw/packages/utils/src/lib
Steve Ruiz a6d2ab05d2
Perf: minor drawing speedup (#3464)
Tiny changes as I walk through freehand code. These would only really
make a difference on pages with many freehand shapes.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features

### Release Notes

- Improve performance of draw shapes.
2024-04-21 11:46:35 +00:00
..
reordering [Snapping 1/5] Validation & strict types for fractional indexes (#2827) 2024-02-14 17:53:30 +00:00
array.ts fix vite HMR issue (#2279) 2023-12-01 16:48:30 +00:00
control.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
debounce.test.ts Bump jest to fix weird prettier bug (#2716) 2024-02-04 11:19:47 +00:00
debounce.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
error.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
file.ts fixup file helpers (#3130) 2024-03-12 16:51:29 +00:00
function.ts mini `defineShape` API (#1563) 2023-06-12 14:04:14 +00:00
hash.ts faster image processing in default asset handler (#2441) 2024-01-10 14:41:18 +00:00
iterable.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
json-value.ts [feature] add `meta` property to records (#1627) 2023-06-28 14:24:05 +00:00
media.ts fixup file helpers (#3130) 2024-03-12 16:51:29 +00:00
number.ts Split snap manager into ShapeBoundsSnaps and HandleSnaps (#2747) 2024-02-07 10:40:01 +00:00
object.ts use native structuredClone on node, cloudflare workers, and in tests (#3166) 2024-03-18 17:16:09 +00:00
perf.ts Perf: minor drawing speedup (#3464) 2024-04-21 11:46:35 +00:00
png.ts move some utils into tldraw/utils (#1750) 2023-07-19 10:50:40 +00:00
sort.ts Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00
storage.tsx Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
throttle.ts Input buffering (#3223) 2024-04-02 14:29:14 +00:00
types.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
value.ts use native structuredClone on node, cloudflare workers, and in tests (#3166) 2024-03-18 17:16:09 +00:00
warnDeprecatedGetter.ts no impure getters pt 11 (#2236) 2023-11-16 15:34:56 +00:00