Bump max shapes to 4000 (#3716)

This PR increases the maximum number of shapes per page from 2000 to
4000.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features

### Test Plan

1. Create max shapes
2. Does it work?

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

### Release Notes

- Increase maximum number of shapes per page from 2000 to 4000.
This commit is contained in:
Steve Ruiz 2024-05-19 02:01:53 +01:00 committed by GitHub
parent 979e5d7979
commit c04b4286ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1541,7 +1541,7 @@ export interface MatModel {
export const MAX_PAGES = 40;
// @internal (undocumented)
export const MAX_SHAPES_PER_PAGE = 2000;
export const MAX_SHAPES_PER_PAGE = 4000;
// @public
export function moveCameraWhenCloseToEdge(editor: Editor): void;

View file

@ -2,7 +2,7 @@ import { TLCameraOptions } from './editor/types/misc-types'
import { EASINGS } from './primitives/easings'
/** @internal */
export const MAX_SHAPES_PER_PAGE = 2000
export const MAX_SHAPES_PER_PAGE = 4000
/** @internal */
export const MAX_PAGES = 40