tldraw/packages
Steve Ruiz b22bb13bb0
[refactor] snapping (#1589)
This PR is a refactor / tidy up of some snapping logic.

- Fix a bug where the recursive call to `findAdjacentGaps` could lead to
a maximum call stack error
- Fixed an issue that caused handle snapping to expensively recompute
- Fixed a dependency from the snap manager to the line shape

### Change Type

- [x] `patch`

### Test Plan

Our snap tests are pretty thorough, they should work here.

### Release Notes

- [editor] fix bug in snapping
2023-06-15 14:36:46 +00:00
..
assets Asset improvements (#1557) 2023-06-09 11:43:01 +00:00
editor [refactor] snapping (#1589) 2023-06-15 14:36:46 +00:00
file-format Add optional generic to updateShapes / createShapes (#1579) 2023-06-13 18:02:17 +00:00
indices update lazyrepo 2023-06-05 18:32:32 +01:00
polyfills update lazyrepo 2023-06-05 18:32:32 +01:00
primitives [refactor] snapping (#1589) 2023-06-15 14:36:46 +00:00
store update lazyrepo 2023-06-05 18:32:32 +01:00
tldraw mini defineShape API (#1563) 2023-06-12 14:04:14 +00:00
tlschema update exports for user presence (#1583) 2023-06-14 22:08:07 +00:00
ui move some kbds into actions and tools (#1585) 2023-06-15 11:49:20 +00:00
utils mini defineShape API (#1563) 2023-06-12 14:04:14 +00:00
validate mini defineShape API (#1563) 2023-06-12 14:04:14 +00:00