mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-30 13:47:12 +02:00
Update renderElement.ts
This commit is contained in:
@@ -158,7 +158,7 @@ const generateElementCanvas = (
|
|||||||
const context = canvas.getContext("2d")!;
|
const context = canvas.getContext("2d")!;
|
||||||
const padding = getCanvasPadding(element);
|
const padding = getCanvasPadding(element);
|
||||||
|
|
||||||
const {width, height, zoomValue} = calcElementCanvasSize (
|
const {width, height, zoomValue} = cappedElementCanvasSize (
|
||||||
element,
|
element,
|
||||||
zoom,
|
zoom,
|
||||||
renderConfig,
|
renderConfig,
|
||||||
|
Reference in New Issue
Block a user