tldraw/packages
Steve Ruiz 3c768867f2
[fix] masked bounds calculation (#2197)
This PR fixes a bug where frames with children that have identical
dimensions would not be able to export as images.

When calculating masked page bounds, identical shapes would produce a
zero width/height masked page bounds.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. Create a frame.
2. Create an image that is a child of the frame and the exact dimensions
of the frame (possibly using the console)
3. Export the image

### Release Notes

- Fix bug with getmaskedpagebounds calculation for identical parent /
child sizes
2023-11-11 13:50:48 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
editor [fix] masked bounds calculation (#2197) 2023-11-11 13:50:48 +00:00
state Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
store Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
tldraw Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
tlschema Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
utils Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00
validate Update CHANGELOG.md [skip ci] 2023-11-10 10:49:37 +00:00