mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update renderElement.ts
This commit is contained in:
parent
619e4061f5
commit
17f9f64eda
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ export const cappedElementCanvasSize = (
|
||||||
zoomValue: NormalizedZoomValue;
|
zoomValue: NormalizedZoomValue;
|
||||||
} => {
|
} => {
|
||||||
const sizelimit = 16777216; // 2^24
|
const sizelimit = 16777216; // 2^24
|
||||||
|
const padding = getCanvasPadding(element);
|
||||||
let zoomValue = zoom.value;
|
let zoomValue = zoom.value;
|
||||||
|
|
||||||
if (isLinearElement(element) || isFreeDrawElement(element)) {
|
if (isLinearElement(element) || isFreeDrawElement(element)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue