Update renderElement.ts

This commit is contained in:
zsviczian 2023-04-04 16:38:26 +02:00 committed by GitHub
parent f017a60101
commit fc7135c5d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ const generateElementCanvas = (
const context = canvas.getContext("2d")!;
const padding = getCanvasPadding(element);
const {width, height, zoomValue} = calcElementCanvasSize (
const {width, height, zoomValue} = cappedElementCanvasSize (
element,
zoom,
renderConfig,