Update renderElement.ts
This commit is contained in:
parent
619e4061f5
commit
17f9f64eda
@ -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…
x
Reference in New Issue
Block a user