3c768867f2
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 |
||
---|---|---|
.. | ||
api | ||
src | ||
api-extractor.json | ||
api-report.md | ||
CHANGELOG.md | ||
editor.css | ||
LICENSE | ||
package.json | ||
README.md | ||
setupTests.js | ||
tsconfig.json |
tldraw/tldraw
Benchmark
To run the benchmarks
yarn workspace @tldraw/tldraw benchmark
Or
yarn workspace @tldraw/tldraw benchmark "file_search_string"