This commit is contained in:
2025-06-30 19:21:24 +08:00
parent a18737012b
commit 07889701b3

View File

@@ -51,9 +51,9 @@ const draw = (ctx, canvas) => {
const qr_img = new Image();
qr_img.src = base64;
qr_img.onload = function () {
const size = 70;
const x = 20;
const y = canvas.height / 3 - 88;
const size = 65;
const x = 17.5;
const y = canvas.height / 3 - 88 + 7;
ctx.drawImage(qr_img, x, y, size, size);
}
});