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.
pull/3777/head
Steve Ruiz 2024-05-19 02:01:53 +01:00 zatwierdzone przez GitHub
rodzic 979e5d7979
commit c04b4286ca
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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