tldraw/packages
Steve Ruiz eabb0d52f8
Rendering / cropping side-effects (#1799)
This PR:
- improves the logic for computing `renderingShapes`
- improves the handling of side effects related to cropping

We might use the same side effect logic to edit / re-edit shapes, though
this may be more complicated with inputs that steal focus.

### Change Type

- [x] `major` — Breaking change

### Test Plan

1. Crop an image
2. Change the crop
3. Stop cropping
4. Undo — you should be cropping again!
5. Undo until you're not cropping anymore
6. Redo until you're cropping again
7. etc.

- [x] Unit Tests
2023-08-06 11:23:16 +00:00
..
assets [feature] Add val town embed (#1777) 2023-07-31 15:44:33 +00:00
editor Rendering / cropping side-effects (#1799) 2023-08-06 11:23:16 +00:00
state Revert "Editor commands API / effects" (#1783) 2023-08-01 17:03:31 +00:00
store SideEffectManager (#1785) 2023-08-02 11:05:14 +00:00
tldraw Rendering / cropping side-effects (#1799) 2023-08-06 11:23:16 +00:00
tlschema [fix] embeds switching / tldraw embed (#1792) 2023-08-03 14:55:46 +00:00
utils move some utils into tldraw/utils (#1750) 2023-07-19 10:50:40 +00:00
validate Add shapes to exports (#1776) 2023-07-28 16:08:59 +00:00