tldraw/packages
Mitja Bezenšek 0b44a8b47a
Fix culling. (#3504)
Fixes culling for cases when another user would drag shapes inside your
viewport. We weren't correctly calculating the culling status for arrows
that might be bound to those shapes and also for shapes within dragged
in groups / frames.


### Change Type

<!--  Please select a 'Scope' label ️ -->

- [ ] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [x] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [x] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. Open the same room in two browsers / tabs.
2. Have some shapes that are visible in one browser, but not the other.
3. Drag these shapes so that they are visible in the other browser as
well.
4. They should correctly get unculled.
5. Do this by dragging shapes that have arrows bound to them (arrows
should uncull), groups (shapes within them should uncull), frames.

- [x] Unit Tests
- [ ] End to end tests

### Release Notes

- Fix culling.
2024-04-17 11:39:09 +00:00
..
assets ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
editor Fix culling. (#3504) 2024-04-17 11:39:09 +00:00
namespaced-tldraw New migrations again (#3220) 2024-04-15 12:53:42 +00:00
state [perf] faster signia capture (again) (#3487) 2024-04-16 11:12:01 +00:00
store New migrations again (#3220) 2024-04-15 12:53:42 +00:00
tldraw Fix culling. (#3504) 2024-04-17 11:39:09 +00:00
tlschema Color tweaks (light and dark mode) (#3486) 2024-04-17 09:31:55 +00:00
tlsync New migrations again (#3220) 2024-04-15 12:53:42 +00:00
utils New migrations again (#3220) 2024-04-15 12:53:42 +00:00
validate New migrations again (#3220) 2024-04-15 12:53:42 +00:00