add max shape count

This commit is contained in:
Preet Shihn
2021-02-05 10:27:06 -08:00
parent 1156ef6b96
commit b20fe944e7
2 changed files with 19 additions and 5 deletions

View File

@@ -3462,7 +3462,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
await import(
/* webpackChunkName: "pixelated-image" */ "../data/pixelated-image"
)
).pixelateImage(file, 20, event.clientX, event.clientY);
).pixelateImage(file, 20, 1200, event.clientX, event.clientY);
const nextElements = [
...this.scene.getElementsIncludingDeleted(),