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
f017a60101
commit
fc7135c5d1
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue