tldraw/packages
alex 66b3de4a03
scale exported canvases when they reach the browsers max size (#1536)
Uses https://github.com/jhildenbiddle/canvas-size to determine the max
supported canvas size of the current browser, then scales exports
accordingly.

### Change Type

<!-- 💡 Indicate the type of change your pull request is. -->
<!-- 🤷‍♀️ If you're not sure, don't select anything -->
<!-- ✂️ Feel free to delete unselected options -->

<!-- To select one, put an x in the box: [x] -->

- [x] `patch` — Bug Fix


### Test Plan

Tested locally across a few browsers

### Release Notes

- Fix a bug where sometimes exports would fail when they were too big
for your browser. Now, they're scaled down to the max supported size.
2023-06-06 11:44:21 +00:00
..
assets update lazyrepo 2023-06-05 18:32:32 +01:00
editor scale exported canvases when they reach the browsers max size (#1536) 2023-06-06 11:44:21 +00:00
file-format update lazyrepo 2023-06-05 18:32:32 +01:00
indices update lazyrepo 2023-06-05 18:32:32 +01:00
polyfills update lazyrepo 2023-06-05 18:32:32 +01:00
primitives ensure that fixed points stay fixed (#1523) 2023-06-05 18:04:13 +00:00
store update lazyrepo 2023-06-05 18:32:32 +01:00
tldraw update lazyrepo 2023-06-05 18:32:32 +01:00
tlschema update lazyrepo 2023-06-05 18:32:32 +01:00
ui Select locked shapes on long press (#1529) 2023-06-06 11:23:53 +00:00
utils update lazyrepo 2023-06-05 18:32:32 +01:00
validate update lazyrepo 2023-06-05 18:32:32 +01:00