Update renderElement.ts

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

View File

@ -164,7 +164,7 @@ const generateElementCanvas = (
renderConfig,
);
canvas.width = widht;
canvas.width = width;
canvas.height = height;
let canvasOffsetX = 0;